- This event has passed.
7PM – OOP Python – Latisha
March 1, 2023 @ 7:00 pm - 8:00 pm
Today We Did
- Continued working on Monster Inheritance
Homework
- In sword_attack, do the second half of the attack. Get the number of damage points the monster does to you, which should be a random number between 5 and the monster’s max attack. Then decrease your health by that number. Finally, print a message saying “<monster name> attacked you with <monster random damage> damage. Your remaining health is <your health>”
If you have any questions, you can ask me at latisha@ayclogic.com.