This code was made for Carson for his homework by me because I’m just that great of a friend. I don’t remember what it does and I’m not going to compile it or read it. Enjoy.
continue_on = 'Y' score_number = 0 score_total = 0 while continue_on == 'Y': score = input('Enter a score: ') score_number = score_number + 1 score_total = score_total + float(score) continue_on = input('Another?') print() print('The number of scores is ', score_number) print() print('The average of the scores is : ', score_total / score_number) print() print('The sum of the scores is :', score_total)