Lesson 17: A new objective

Outline:

  1. Quiz #3
  2. Defining our own objects
    • example: MultiSidedDie
    • class keyword and constructors, revisited
    • __init__
    • self
    • methods and instance variables

Reading assignment (to be completed by the next class):

  • Zelle sections 10.1, 10.3.1 (pp. 313-314, 321-325)