Last quiz of the track. Ten questions on dicts, dict iteration, functions, return, split, and the synthesis pattern. 80% to pass.
Let's finish this.
When you pass: you have the complete kit of Python primitives. Variables, types, control flow, lists, dicts, functions, parsing. Whatever Python script you read from here on, you'll recognise the shape.
| Lesson | Concept | Key syntax |
|---|---|---|
| 15 | Dictionaries | {key: value}; dict[key] lookup; KeyError on miss |
| 16 | Iterating dicts | for k, v in dict.items(): — pair unpacking |
| 17 | Functions | def name(params): — define recipes |
| 18 | return | send a value back to the caller; not the same as print |
| 19 | str.split() | break a string into a list of parts |
| 20 | Synthesis | compose 5 primitives — accumulate-by-key pattern |
By passing this quiz, you've worked through every primitive a Python script needs:
printif / elif / else, and / or / notfor loops over lists, strings, dictsreturnsplit to break strings into listsEverything else is composition. Python Intermediate (deferred for v1, coming later) adds file I/O, exceptions, comprehensions, and the standard-library data formats. Automation Beginner (also coming) bridges Python to real APIs — Gmail, Sheets, Slack — using the same primitives you just learned.
Create a free account to get started. Paid plans unlock all tracks.
Last quiz of the track. Ten questions on dicts, dict iteration, functions, return, split, and the synthesis pattern. 80% to pass.
Let's finish this.
When you pass: you have the complete kit of Python primitives. Variables, types, control flow, lists, dicts, functions, parsing. Whatever Python script you read from here on, you'll recognise the shape.
| Lesson | Concept | Key syntax |
|---|---|---|
| 15 | Dictionaries | {key: value}; dict[key] lookup; KeyError on miss |
| 16 | Iterating dicts | for k, v in dict.items(): — pair unpacking |
| 17 | Functions | def name(params): — define recipes |
| 18 | return | send a value back to the caller; not the same as print |
| 19 | str.split() | break a string into a list of parts |
| 20 | Synthesis | compose 5 primitives — accumulate-by-key pattern |
By passing this quiz, you've worked through every primitive a Python script needs:
printif / elif / else, and / or / notfor loops over lists, strings, dictsreturnsplit to break strings into listsEverything else is composition. Python Intermediate (deferred for v1, coming later) adds file I/O, exceptions, comprehensions, and the standard-library data formats. Automation Beginner (also coming) bridges Python to real APIs — Gmail, Sheets, Slack — using the same primitives you just learned.