Classes and Objects -- Digging a little deeper
Students will...
- be able to write a function that takes an object as a parameter.
- be able to write a function that returns an object.
- understand the utility of writing the
__str__
method for a class and be able to write the code for it.
- be able to write code to create and return an instance of a class.
- understand that objects are mutable.
- be able to write methods to override built-in operations, like
__add__
.