American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

7PM – OOP Python – Latisha

February 8, 2023 @ 7:00 pm - 8:00 pm

Today We Did
  1. Started working on Monster Inheritance
Homework
  1. in a file called monster.py make a class called Monster that has 3 attributes: species, health, and max_attack.
  2. Then in main.py, add 2 monsters to your dictionary: the key is the monster’s species and the value is the new Monster(). DO NOT JUST PUT THEM IN THE SQUIGGLY BRACKETS. You must add monster like so: self.monster_dictionary[] = …

If you have any questions, you can ask me at latisha@ayclogic.com.

Details

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