American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

3 PM – Python Object Oriented Programming – Sebastian

September 30, 2023 @ 3:00 pm - 4:00 pm

Today We Did
  1. Continued learning about inheritance fundamentals
  2. Worked through monster system project
  3. Completed Monster parent class
  4. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Please submit your homework to the corresponding project’s folder in your Google Drive
  2. Homework: Begin creating the Dragon class in our MonsterSystem project.
    1. Inside the file “dragon.py”, create the class “Dragon” which will inherit our “Monster” class.
    2. Override the Dragon class’s constructor and make it only take in 2 parameters: health, and max_attack (don’t take in species anymore)
    3. Call the parent class’s constructor (hint: How can we call methods from a class’s parent?)

Details

Date:
September 30, 2023
Time:
3:00 pm - 4:00 pm
Event Categories:
,
Verified by MonsterInsights