American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Python OOP – Gamas

December 11, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. We continued on Monster Inheritance project.
    1. Inside main.py, we added sword_attack method.
    2. Inside main.py, we added magic_attack method.
    3. Inside monster.py, we added magic_attack(self, damage, magic_type) method.
Homework
  1. From textbook. copy codes page 168 and 169.
    1. Inside MonsterInheritance project, create car.py and put Car class codes from the book inside this file.
    2. Inside MonsterInheritance project, create electric_car.py and put ElectricCar class codes from the book inside this file.

Details

Date:
December 11, 2023
Time:
7:00 pm - 8:00 pm
Verified by MonsterInsights