My third program
Create a new file (File → New File) and
type in the following:
# this is my third program!
name = input("Enter your name, please:")
print("*"*40)
print("Nice to meet you,",name,"!")
print("The weather is wonderful today,
isn't it?")
print("*"*40)
Save the program (File → Save) as myThirdProgram.py
Then press F5 or go to Run → Run Module
Then check what you see in Python shell...
variable
(named reference where
the information is stored)
input() function/method
will read text entered by
the user, and assign the
entered text to the
name variable