Sign in to access Teach Me mode
Sign in to ask questions
Copy as MarkdownCtrl+⇧+C
Chapter 49 Quiz
Before taking the quiz, verify that you can do each of these without looking at the lessons:
- Write a multi-parameter signature: Create a function with 2-3 typed parameters and a return type
- Explain return vs print: Say why
returngives a reusable value andprint()givesNone - Use default values: Write a function with a meaningful default and call it both ways
- Write a what-style docstring: Describe what a function does without revealing how
- Describe the TDG cycle: List the five steps from stub to passing tests
If any feel uncertain, revisit the specific lesson before continuing.
Test your understanding of function signatures, defaults, keyword arguments, docstrings, and the TDG cycle by solving real-world scenarios.
Checking access...