👋 Your first line of code
Why: Write and run your very first line of real Python.
Unlocks: Every other lesson — this line is the door.
In How Computers Think you learned the big secret: a computer is an obedient machine that does exactly what it's told, millions of times per second. Today you stop being a spectator. Today you give the orders.
The language we'll use is Python — the same language used at NASA, Netflix, and by millions of beginners, because its orders read almost like English. Your very first order is print: it tells the computer to show something on the screen.
Below is a real Python editor — not a picture, not a simulation. The code in it is one line. Press ▶ Run and watch the computer obey you.
That's it. You wrote an order, the machine obeyed. Notice the shape of it:
print is the order. The parentheses ( ) hold what you're handing to it. The quotes " " mean “this is text, don't try to understand it — just carry it.” Text in quotes is called a string — a string of characters, like the letter codes you decoded in the Secret Decoder game.
One more thing before the quiz. A program can be many orders — the computer runs them top to bottom, one at a time, exactly like the recipes lesson said. Try stacking a few:
What do the quotes in print("Hello") tell Python?
🔍 Go deeper (optional): want to watch the machine execute print line by line, like a slow-motion replay? That's exactly what the companion course is for → PyDebug: Your First Program.