Six lessons covered function patterns, dict patterns, and import. Eight questions, 80% to pass.
| Lesson | Concept | Key syntax |
|---|---|---|
| 8 | Default arguments | def f(a, b=5): |
| 9 | Keyword arguments | f(name="Ada", age=36) |
| 10 | *args and **kwargs | variadic positional + keyword |
| 11 | Dict comprehensions | {k: v for ... in ...} |
| 12 | Nested dicts | data[outer][inner] |
| 13 | import | import json, from x import y, as alias |
Week 3 hits the standard library: csv, json, re, sorted, datetime, plus a synthesis.
Create a free account to get started. Paid plans unlock all tracks.
Six lessons covered function patterns, dict patterns, and import. Eight questions, 80% to pass.
| Lesson | Concept | Key syntax |
|---|---|---|
| 8 | Default arguments | def f(a, b=5): |
| 9 | Keyword arguments | f(name="Ada", age=36) |
| 10 | *args and **kwargs | variadic positional + keyword |
| 11 | Dict comprehensions | {k: v for ... in ...} |
| 12 | Nested dicts | data[outer][inner] |
| 13 | import | import json, from x import y, as alias |
Week 3 hits the standard library: csv, json, re, sorted, datetime, plus a synthesis.