American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

8 PM – Python OOP – Joel

November 24 @ 8:00 pm - 9:00 pm

Today we did:
  1. We continued with the MonsterSystem.

 

Homework:
  1. Make water golem, troll, and griffin classes, similar to the way we did dragon today. The only difference is the species is changed to their species.
  2. Continue reviewing the concept of inheritance:
    1. Inheritance is a parent-child relationship between classes
    2. The parent is the general class, the child is more specific.
    3. The child can “inherit” or have access to the parent class’ attributes and methods.
    4. super().__init__() is calling the parent’s constructor.

Details

Date:
November 24
Time:
8:00 pm - 9:00 pm
Verified by MonsterInsights