Progression
Python · Intermediate - build real things
- Functions: def, parameters, return and scopeStructure your code into reusable functions, master default values and understand variable scope.
- Strings in depth: slicing, f-strings, methodsExtract, format and clean text like in a real project thanks to slicing, f-strings and string methods.
- List and dictionary comprehensionsReplace your building loops with expressive comprehensions, to transform, filter and reindex your data.
- Files and modules: with, import, organizationRead and write files cleanly with with, exchange JSON and organize your code into importable modules.
- Errors and exceptions: try, except, raiseCatch predictable failures with try/except/else/finally and raise your own exceptions to signal invalid data.