Quest 1 • Lesson 1
🐍 Your First Python Program
Python is one of the easiest programming languages to learn. Let's write your very first line of code.
"A program is a set of instructions that tells the computer what to do. We'll start by saying hello!"
hello.py
print("Hello, World!")
🧠 Understanding the Code
print()– A built‑in function that outputs text to the screen."Hello, World!"– A string (text) that will be printed.- Python executes code line by line, from top to bottom.
✨ Challenge: Say Your Name
Modify the code to print your own name instead of "Hello, World!".
print("Your Name Here")
📦 Storing Data: Variables
We can store values in variables and then print them:
name = "Khurram"
print(name)
print(name)
This will output: Khurram
❤️ Support Free Education
This course is 100% free. If it helps you, consider buying me a coffee.
☕ Buy Me a Coffee➡️ Ready for more?
Next lesson: Variables & Data Types – store and work with different kinds of data.
Continue to Lesson 1.2 →(Coming soon – check back or buy Pro Pack for instant access)