About the course
Python 3.12 from zero: print and variables, numbers, strings and f-strings; lists, tuples, dictionaries and sets; conditions, loops and comprehensions; functions, keyword arguments, *args and **kwargs, scopes and closures, lambda; exceptions, files and with, modules and the standard library, venv and pip; classes briefly, iterators and generators, type hints. The output of the programs in the tasks is checked by a real Python.
Course program: 31 lessons
Values and strings
- First program: print and variables
- Numbers: int, float and operations
- Strings: numbers, slices, methods
- f-strings and formatting
- Values and strings: mixed practice
- Checkpoint: values and strings
Collections
- Lists
- Tuples and unpacking
- Dictionaries
- Sets
- Collections: mixed practice
- Checkpoint: collections
Conditions and loops
- Conditions and truthiness
- Loops: for and while
- List, dictionary and set comprehensions
- Checkpoint: conditions and loops
Functions
- Functions and return
- Arguments: keyword, *args, **kwargs
- Scopes and closures
- lambda, sorted with key, map and filter
- Checkpoint: functions
Errors, files, modules
- Exceptions: try, except, raise
- Files and with
- Modules and the standard library
- Virtual environments and pip
- Checkpoint: errors, files, modules
Classes, iterators, types
- Classes: briefly
- Iterators and generators
- Type hints
- Checkpoint: classes, iterators, types
Final test
- Final test in Python