ORVIAN / PRACTICAL LESSON
Python: your first program
Learn variables, input, conditions, and a simple repeatable exercise.
Check Python
Open a terminal and check your installed version.
python3 --versionWrite a small program
Save this program as hello.py. The input becomes a string stored in a variable.
name = input("What is your name? ").strip()
print(f"Hello, {name or 'builder'}!")Run and change it
Run the file. Then change the greeting and run it again.
python3 hello.pyTry it independently
Ask which subject someone wants to study and print a personalized study message.