Lecture 16: November 21, 2019
Reading
: §14
Due
: Homework 4, due on November 25 at 11:59pm
Classes and objects [
cards.py
,
war.py
]
User-defined types (classes)
Instantiate (create) new object (
__init__
)
Objects and attributes
Objects and methods
Printing objects (
__str__
)
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
[email protected]
MHI 289I, Programming in Health Informatics
Version of November 21, 2019 at 11:58AM
You can also obtain a PDF version of this.