Question: Write a program that reads a test score from a text box each time a button is clicked and then displays the two highest scores
Write a program that reads a test score from a text box each time a button is clicked and then displays the two highest scores whenever a second button is clicked. Use two class-level variables to track the two highest scores. See fig. 4.17

Figure 4.17 Possible outcome of Exercise 36.
Highest Scores Score: 0 Read Current Score Display Two Highest Scores Two highest scores: 95 90 X
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
To solve this problem you can use a simple GUI application with two buttons and a text box Below is an example using Python with Tkinter for the GUI W... View full answer
Get step-by-step solutions from verified subject matter experts
