Lesson 20: A classy family tree
Outline:
- The
key
parameter ofsort
- Inheritance
- parent and child classes (aka superclasses and subclasses)
- Exercise 2
Explore after class:
- Inheritance
- Exercise 2: make a class family tree diagram and predict the output
- The
lambda
keyword
Reading assignment (to be completed by the next class):
- Zelle chapter 12 (pp. 419-456) - especially sec. 12.4-12.5 (pp. 451-456)