PYTHON_101 | EXAMPLE 2 - VARIABLES.PY
SMARS Learning Platform
42% Complete
PYTHON_101 | EXAMPLE 2 - VARIABLES.PY
Type of the program below into your Python Editor
# Variables
# Python_101
print("Please type your name:")
name = input()
print("Hello", name)
Save the file and then run it either from the editor or from the command line:
python3 variables.py
Downloads |