Question: Python: Assign sum_extra with the total extra credit received given list test_grades. Full credit is 100, so anything over 100 is extra credit. Iterate through

Python:

Assign sum_extra with the total extra credit received given list test_grades. Full credit is 100, so anything over 100 is extra credit. Iterate through the map with: for grade in test_grades. Sample output for the given program with input: '101 83 107 90'

Sum extra: 8 

(because 1 + 0 + 7 + 0 is 8)

sum_extra = -999 # Initialize 0 before your loop

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!