← Python Foundations
1 / 27
Lesson 1 — Hello, Python
Your first program
Every program talks to us by producing output. In Python, print() displays whatever you put inside its parentheses. Text (a string) must be wrapped in quotes — "like this". Numbers do not need quotes.
Why it matters: print() is how you see what your code does, so you will use it constantly to check your work and find bugs.
Watch out: forgetting the quotes around text, or the closing parenthesis, is the most common first error.
Want it another way?
Task
Make the program also print: I am learning Python
Run your code — when the output matches the task, you will see a green check. Then mark the lesson complete.
Test your knowledge
A quick 3-question quiz on this lesson — instant feedback.