Python Functions · Part 3
Docstrings and recursion; memoization preview; composition; pure vs impure design.
Lesson 24 · Python Functions · Part 3 — Level II · Guide
November 5, 2026 · Bridge Academy Python Program
Learning goals
- Use docstrings with type hints. - Trace recursive patterns like Fibonacci. - Preview memoization. - Compose smaller functions into bigger ones.
Level II frames recursion and composition as design tools. Students also preview why caching repeated work can speed up recursive solutions.
Preview truncated — download the notebook to see the full lesson.