Python Functions · Week 6 — Defaults & Putting It All Together
Default parameter values; functions calling other functions; mini synthesis projects.
Week 6: Defaults and Synthesis
This week we finish our functions unit by learning two final tricks: giving parameters default values so they become optional, and making one function call another. Then we'll combine everything we've learned to build a class report card and a year-end newsletter using our familiar cast of friends.
Learning goals
- Use default parameter values in function definitions - Call one function from inside another - Combine functions with lists, dictionaries, and loops - Build a complete program that solves a real task
Preview truncated — download the notebook to see the full lesson.