American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4:30 PM – Python OOP – Roland

January 18 @ 4:30 pm - 5:30 pm

Today We Did

  1. Reviewed and remade first OOP Homework (Dog class) with add ons
    1. Constructor/__init__ method review
    2. Class attributes (name, age, bread)
    3. Class methods (sit, fetch, cartwheel, getstuff)
    4. Several instances of Dog
    5. Using Dog attributes outside of class
    6. Using Dog methods outside of class
    7. Dog objects within lists

Homework

Submit the following file your shared google drive folder (email if you forgot how to find it):

  1. 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

Details

Date:
January 18
Time:
4:30 pm - 5:30 pm
Verified by MonsterInsights