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

What’s next

Upcoming assessments:

  • Homework assignment 6 is all about nested loops and image processing and will be posted today

What you should do now:

  • The readings (see below)
  • Read the description of Assignment 6 and try to complete Part 1 this weekend

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

  • Zelle section 12.1 (pp. 363–364)
  • Zelle section 12.3.1 (pp. 371–375)