Python for Developers
A practical Python foundation for developers who already understand programming and want to write clear, Pythonic scripts and solve realistic coding tasks.
13 lessons
Each lesson card opens directly, and completion state comes from existing learner progress only.
1. Writing Clean Python Output
Use `print()`, `str()`, f-strings, `sep`, `end`, line breaks, repeated separators, and decimal formatting for practical console output.
2. Variables and Dynamic Typing
Assign, inspect, convert, reassign, and exchange Python values without static type declarations.
3. Working with Python Strings
Write, inspect, slice, clean, split, and join Python strings in practical text workflows.
4. Numbers and Basic Operators
Use Python arithmetic, division variants, precedence, updates, and powers in realistic calculations.
5. Booleans, None, and Comparisons
Build boolean expressions with comparisons, None checks, ranges, and logical operators before branching.
6. Conditions with if, elif, and else
Build clear two-way and multi-way decisions with ordered branches and compound conditions.
7. Truthy and Falsy Values
Use direct presence checks while preserving the difference between empty, zero, and missing values.
8. Python Blocks: Indentation and Colons
Read and write Python block structure with colons, indentation, nesting, placeholders, and safe assignments.
9. Pattern Matching with match and case
Route known commands and states with literal cases, alternatives, guards, and a wildcard fallback.
10. Loops with for and range()
Iterate directly over values, generate numeric sequences, number items, and build loop accumulators.
11. Repeating with while, break, and continue
Control stateful repetition, prevent infinite loops, stop early, and skip individual iterations.
12. Functions and return
Define reusable functions, accept parameters, and return values that callers and real test cases can reuse.
13. Default and Keyword Arguments
Define safe defaults, override them when needed, and use readable keyword-based function calls.