Class 26 — Friday March 22
Module implementation and usage
Practice makes perfect — Is more than a platitude — Take it to your heart
Look both ways
Agenda
- Function-based chrestomathics
Examples
- Module uva.py
- Let's implement a worthwhile module with four functions
- A function with no parameters that does not perform an explicit return;
- A function with parameter(s) that does not perform an explicit return;
- A function with no parameters that returns something of value;
- A function with parameter(s) that returns something of value;
- Program rotunda.py
- Let's implement along the way in a simple tester of module
uva.py
To Do
- Review artifacts
- Complete homework