- This event has passed.
5:30 PM – Python OOP – Gamas
September 21 @ 5:30 pm - 6:30 pm
Today We Did
- We learned examples of class and class inheritance.
- We continued with Monster Inheritance project.
Homework
- Inside monster_system.py and inside play_adventure() method
- After user select a monster, display the following menu
-
What do you want to do with the Dragon 1. Magic attack 2. Sword attack - 10 to 20 damage Enter your selection:
- 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.
- ice_cream_stand.py
- Create IceCreamStand class.
- Dont forget to import the Restaurant class into ice_cream_stand.py