ðĻðŦ 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