Python for Developers
Learn Python's core syntax, variables, conditions, loops, and functions while building on your existing programming knowledge.
13 lessons
Sign in to save your progress.
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.
Questions tailored to your goals and everything you've learned so far.
2 questions · 0/2 answered · Checking access…
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.
Questions tailored to your goals and everything you've learned so far.
3 questions · 0/3 answered · Checking access…
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.
Questions tailored to your goals and everything you've learned so far.
5 questions · 0/5 answered · Checking access…
Apply what you've learned in one substantial coding challenge, personalized to your learning history.
Checking assessment access…