MA-PY1
Introductory Python
Core language — from expressions through larger programs, types, and reusable patterns
Guided self-study units on expressions, control flow, sequences, strings and files, collections, classes, exceptions, modules, iterators and generators, type hints, inheritance, and decorators — work through concepts, examples, and checks at your own pace.
- 1.1Expressions and numeric types~55 min
- 1.2Defining and calling functions~55 min
- 1.3Branches and while loops~55 min
- 1.4Lists, indexing, and mutability~55 min
- 2.1For loops and iteration~50 min
- 2.2Strings and text files~55 min
- 2.3Sets and dictionaries~50 min
- 2.4Tuples and grouping related data~45 min
- 3.1Objects and classes~55 min
- 3.2Putting it together: a small program~55 min
- 4.1Exceptions and robust boundaries~60 min
- 4.2Modules, imports, and the `__main__` guard~55 min
- 4.3Iterators and generators~60 min
- 4.4Type hints and dataclasses~55 min
- 4.5Inheritance and polymorphism~60 min
- 4.6Decorators and context managers~55 min