Question: ( Assign grades ) Write a program that reads a list of scores and then assigns grades based on the following scheme: The grade is

(Assign grades)
Write a program that reads a list of scores and then assigns grades based on the following scheme:
The grade is A if score is >= best 10.
The grade is B if score is >= best 20.
The grade is C if score is >= best 30.
The grade is D if score is >= best 40.
The grade is F otherwise.
Sample Run
Enter scores: 40557058
Student 0 score is 40 and grade is C
Student 1 score is 55 and grade is B
Student 2 score is 70 and grade is A
Student 3 score is 58 and grade is B
please write in python

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 Programming Questions!