Introduction to Python
Python is a language for talking to computers.
You write short lines. The computer follows them.
Think of Python like clear picture instructions. Each step is easy to read.
People use Python for websites, games, robots, and school projects.
Why learn Python?
Python looks a lot like plain English.
That helps you think about the idea, not the hard spelling.
Easy to read, like a story
Works on many computers
Great for first projects
Used in real jobs too
What a program is
A program is a list of steps.
Like a recipe for cookies.
You write the steps once. Then you can run them again and again.
What you will learn
First you learn boxes that hold values. Those are variables.
Then you learn numbers, words, lists, and choices.
Later you learn loops, functions, files, and classes.
We go slow. One small idea at a time.
Your first program
print shows text on the screen.
Put your words inside quotes.
Quotes tell Python, this is text, not a command name.
Try little changes
Change the words inside the quotes.
Add another print line.
Each print starts a new line on the screen.
Tip: Press Try it under a code box to run the code.
Test yourself
Three quick questions made just for this lesson. Earn 10 XP per correct answer.