- This event has passed.
3 PM – OOP Python – Nathaniel
October 30, 2021 @ 3:00 pm - 4:00 pm
Today we:
- Went over MonsterInheritanceSystem program
- Added the Godzilla class to the program
- Created the Hangman class
Homework:
Create a class called "Counter". And have an attribute of a count (starts at 0). Create an application loop that runs the program of allowing a user to increase count by whatever number they input. There should be one other helper methods: def increase(x) Example program run: Welcome to the Counter game! Please enter a number that you would like to add from the current count >> 3 Count is now at a value of 3! >> 9 Count is now at a value of 12! >> 100 Count is now at a value of 112!