Back to course overview
Python Fundamentals
Loops and Functions
Repeat work with for and while loops, package logic into reusable functions, and fix broken scripts by reading tracebacks.
3 lessons · 1h 43m
- 31mfor and while loopsReading
Repeat work over ranges and lists with for loops, and loop until a condition changes with while.
- 42mWriting functionsReading
Define reusable functions with parameters, default values and return values.
- 30mReading errors and debuggingReading
Read a Python traceback from the bottom up, recognise common error types and fix bugs methodically.