Question: please solve it with Python. Thank you LAB02 SUBMISSION INSTRUCTIONS Submit 1 python file using the naming convention below (replace JaneDoe with your first and

please solve it with Python. Thank you

please solve it with Python. Thank you LAB02 SUBMISSION INSTRUCTIONS Submit 1

LAB02 SUBMISSION INSTRUCTIONS Submit 1 python file using the naming convention below (replace JaneDoe with your first and last name respectively): - JaneDoe2_1.py QUESTION 1. Write a program that reads student scores, gets the best score, and then assigns grades based on the following scheme: Grade is A if score is >= best 10 Grade is B if score is >= best 20 Grade is C if score is >= best 30 Grade is D if score is >= best 40 Grade is F otherwise The program prompts the user to enter the total number of students, then prompts the user to enter all the scores (strictly integers) and concludes by displaying the grades. The scores being entered must be stored in a list. You are free to use functions to organize your code and additional data structures to store data. SAMPLE OUTPUT 1 Total number of students: 1 Enter 1 score(s): 70 Student 1 score is 70 and grade is A SAMPLE OUTPUT 2 Total number of students: 3 Enter 3 score(s): 554070 Student 1 score is 55 and grade is B Student 2 score is 40 and grade is C Student 3 score is 70 and grade is A SAMPLE OUTPUT 3 Total number of students: 2 Enter 2 score(s): 405570 Student 1 score is 40 and grade is B Student 2 score is 55 and grade is A SAMPLE OUTPUT 4 Total number of students: 2 Enter 2 score(s): 40 Enter 2 score(s): 5540 Student 1 score is 55 and grade is A Student 2 score is 40 and grade is B *Please note for sample 3 , much as the user decided to enter 3 scores even though they were asked to enter 2 , the best score and ultimately the grades were determined based on the first 2 values only. For sample 4, when the user entered less scores than was asked for, they were asked again to enter scores

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!