Loading Events

« All Events

  • This event has passed.

5:30 PM – Python OOP – Gamas

September 21 @ 5:30 pm - 6:30 pm
Today We Did
  1. We learned examples of class and class inheritance.
  2. We continued with Monster Inheritance project.
Homework
  1. Inside monster_system.py and inside play_adventure() method
    1. After user select a monster, display the following menu
    2. What do you want to do with the Dragon
      1. Magic attack
      2. Sword attack - 10 to 20 damage
      Enter your selection:
  2. Read question from page 173 , answer question 9-6 inside MonsterInheritance project. Basically you need to create a class called IceCreamStand class that inherits from Restaurant class.
    1. ice_cream_stand.py
    2. Create IceCreamStand class.
    3. Dont forget to import the Restaurant class into ice_cream_stand.py

Details

  • Date: September 21
  • Time:
    5:30 pm - 6:30 pm