Chapter 1 Practice: Your First Python Programs
Chapter 1 Recap
Well done: you finished chapter 1! Here is everything you learned, in one table.
| Word | What it means |
|---|---|
| Program | A list of clear steps a computer follows, in order |
| Programmer | The person who writes, runs and fixes programs |
| Bug | A mistake in a program; fixing it is debugging |
| Programming language | Words and rules people write and computers can be made to understand |
| Syntax | The grammar of a programming language |
.py file | A plain text file that holds Python code |
| Interpreter | The program that checks your code, then runs it |
print("…") | Shows the text inside the quotes on the screen |
| Error | Python's message when it can't go on; it shows the line and the kind of problem |
Now put it into practice. Press Next to see this chapter's practice questions. Write each program yourself, press Run to try it, and Submit when you're ready.
Every big program starts with one small line. You've written yours.