Question
Tally Counter Application Finish coding the Tally Counter Application which is stored in the counter.py and counterdemo.py files located in Project 10 folder on Blackboard.
Tally Counter Application
Finish coding the Tally Counter Application which is stored in the counter.py and counterdemo.py files located in Project 10 folder on Blackboard. We want to add a button to the tally counter that allows an operator to undo an accidental button click. Provide the undo(self) method that simulates such a button. The tally counter should also be used to admit a limited number of people. The limit is set with a call to the setLimit(self, maximum) method which you will need to code. If the count button is clicked more often than the limit, simulate an alarm by printing out a message Limit exceeded.
Note: To complete this assignment, you will need to use the counter.py and counterdemo.py files located in Project 10 folder on Blackboard. You will not be allowed to make any changes to counterdemo.py.
______________________________________________________________________
SAMPLE RUN
Value: 2
Limit Exceeded
Value: 3
Value: 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started