Question: python please Write a program that prompts the user to enter the number of students and each student's score. Your program should display the highest
python please
Write a program that prompts the user to enter the number of students and each student's score. Your program should display the highest score and the second highest score. You can assume that integers are valid (i.e. greater than or equal to 0) and that the user has entered the correct number of scores into your program (i.e. greater than 0). For example: Input Result 3 43 25 10 Enter the number of students: 3 Enter a student score: 43 Enter a student score: 25 Enter a student score: 10 The highest score is 43. The second highest score is 25. 2 84 56 Enter the number of students: 2 Enter a student score: 84 Enter a student score: 56 The highest score is 84. The second highest score is 56
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
