scores =[]
sum_scores = 0
for i in range(5):
#value = int (input ("Enter your grade")
value = int (input ("Enter your grade")
scores.append(value)
sum_scores = scores
scoresAvg = sum(sum_scores) / 5
print(sum(scores))
#print(scoreAvg)
print(scoresAvg)
Only the 'simply' error (not executed) is described above.
© 2024 OneMinuteCode. All rights reserved.