« All Events
5 PM – Python OOP
September 18, 2021 @ 5:00 pm - 6:00 pm
Today We Do
- We started MonsterInheritanceSystem project.
Homework
- In monster_system.py , inside print_menu(self) method, loop through each element inside self.monster_dictionary and print something like below. This is very similar to print_menu(self) method inside ShoppingCart application which you guys completed last week.
-
Your have 200 health remaining.
Please choose your monster:
Troll - 50 healths - 30 attack points.
Water Golem - 30 healths - 20 attack points.
Dragon - 100 healths - 50 attack points.
Enter your selection (enter "exit" to quit):