- This event has passed.
4:30 PM – Python OOP – Roland
January 18 @ 4:30 pm - 5:30 pm
Today We Did
- Reviewed and remade first OOP Homework (Dog class) with add ons
- Constructor/__init__ method review
- Class attributes (name, age, bread)
- Class methods (sit, fetch, cartwheel, getstuff)
- Several instances of Dog
- Using Dog attributes outside of class
- Using Dog methods outside of class
- Dog objects within lists
Homework
Submit the following file your shared google drive folder (email if you forgot how to find it):
- A file following naming convention <DATE>_OOP2.py with the code copied from pages 162-166 (Make sure you read and understand it!!! We will go over it in class next time!)
Textbook pages can be found here: https://drive.google.com/file/d/1isWdemMdIQabfAU8i_ThVtH9a9nwTclR/view?usp=sharing
If you have any questions, feel free to email me at rolandyang@ayclogic.com