👨🏫 4K | How to Create a Super Hello World program in Python using Visual Studio 2022.
🚀 (THA) สอนเขียนโปรแกรม Hello World โดยใช้ภาษา Python ใน Visual Studio 2022 (ใหม่ล่าสุด!)
Python Source Code by iBasskung.
# Python Comment: Super Hello World Console Application 2022 Demo by iBasskung.
# Print a message onto the screen using the print() function.
print('Hello, World! Hello, Python!')
# New line
print()
# Declare and assign a string to a variable.
myname = "Tanin Sangngam"
# String concatenation.
# \n = New line
print("My name is ", myname + ".\n")
# Assigning multiple variables in one line.
ms, vs, st = "Microsoft", "Visual", "Studio"
visualstudio = ms + " " + vs + " " + st
"""
Python Multi-line comments
How to add tow numbers in Python
Use the + operator to add two numbers.
"""
x = 2000
y = 22
z = x + y # = 2022
# Concatenate strings and numbers
# Casting | Convert the integer to a string using the str() function.
myide = visualstudio + " " + str(z)
# Print the results on the screen.
print(myide)
# New line.
print()
print('Thank you so much for watching. Please like my video ^_^')
# New line.
print()
#END
🎯 See more:
📲 YouTube: https://www.youtube.com/c/iBasskung
📲 Facebook: https://www.facebook.com/CodeAMinute
📲 Udemy: https://www.udemy.com/user/tanin-sangngam
📲 SkillLane: https://www.skilllane.com/instructors/iBasskung
💯 THANK YOU SO MUCH 💯
#Python #HelloWorld #VisualStudio2022 #FirstProgram #iBasskung #ComputerProgramming
Comments
Post a Comment