79105308

Date: 2024-10-19 15:41:03
Score: 2
Natty:
Report link

user_input = input() test_grades = list(map(int, user_input.split())) # test_grades is an integer list of test scores

sum_extra = -999 # Initialize 0 before your loop

sum_extra = sum(i - 100 for i in test_grades if i > 100)

print('Sum extra:', sum_extra)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Katie Martinez