May-24-2018, 02:48 AM
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
""" Write a program that asks the user for three test scores. The program should then report the average of these three scores. You will need: A call to input. You should only have one line that has this! A for loop. Arithmetic operators. print("Sum: " + str(total)) """ # Your program below... test_score = int ( input ( "Please enter three test scores: " )) for i in range (test_score, 3 ): print test_score / 3 |