Python and Roots
Welcome to your first Python chapter. The Course 1 overview gave you the direction; here we begin with something you can hold in your head: a function that produces one chapter label.
Python is a programming language, a way to express instructions a computer can run. You will read its basic instructions alongside the roots that support them. A terminal lets you run a file. Git lets you inspect a change. JSON lets two pieces of software exchange ordinary data.
Follow the seven lessons in order
| Lesson | Focus | What you will check |
|---|---|---|
| Read your first Python function | Python | Values, names, calls and returned results |
| Run Python and read errors | Root | The working folder, the command and the failure message |
| Follow decisions and collections | Python | Which path runs and which items change |
| Track changes and dependencies | Root | A Git diff and the environment running the code |
| Follow functions and error boundaries | Python | Inputs, local names, imports and handled failures |
| Read HTTP, JSON and configuration | Root | What crosses a software boundary and where a setting comes from |
| Check files and test behaviour | Python | File contents, resource cleanup and meaningful test cases |
The alternation is deliberate. You meet a Python idea, then learn the supporting tool when you need it. You do not need to finish an entire terminal course before reading your first function.
The examples gradually build a public book lookup. A useful answer must name the right chapter, handle an unknown title honestly and avoid changing unrelated information. Those are small requirements, but you can already use them to judge the code an AI proposes.
When a lesson contains Parts, read them in order and complete the lesson's check before moving on. Take the time you need. The chapter gives you a sequence, not a claim that every learner reaches understanding at the same speed.
Begin with your first Python function. We will read it together before worrying about installation.