Outline for March 4

Reading: text, §9.2, 11.1
Due: Homework 4, due on March 4 at 11:55pm


  1. Miscellany
    1. Sets (mutable), frozensets (immutable) [sets.py]
    2. Conditional expressions [condexp.py]
    3. List comprehensions [listcomp.py]
    4. Generator expressions [gener.py]
    5. Keyword arguments, variable number of arguments [args3.py]
  2. Classes and objects
    1. User-defined types (classes)
    2. Instantiate (create) new object (__init__)

UC Davis seal
Matt Bishop
Office: 2209 Watershed Science
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
You can also obtain a PDF version of this.
Version of March 4, 2019 at 10:51PM