Question: Initialize a list named grades with at least 1 0 integer values, each between 0 and 1 0 0 . Using a list in python,

Initialize a list named grades with at least 10 integer values, each between 0 and 100. Using a list in python, for example, grades =[5899,83...] then looping through the grades variable in the loop. Use a for loop to iterate through the list of grades. After the loop, print the total number of students in each grade category. Grade A: 95
Grade B 82
Grade C 74
Grade F 59
Grade A: 91
Grade B 87
Grade D 60
Grade C 78
Grade D 68
Grade F 54
Summary:
Total A: 2
Total B: 2
Total C: 2
Total D: 2
Total F: 2
For each grade, use if/elif/else statements to classify it as follows:
o 90-100: "Grade A"
o 80-89: "Grade B"
o 70-79: "Grade C"
o 60-69: "Grade D"
o Below 60: "Grade F"
Initialize a list named grades with at least 1 0

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!