Please Help - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: Please Help (/thread-10531.html) |
Please Help - alwillia - May-24-2018 """ 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 RE: Please Help - buran - May-24-2018 you need 3 scores, so you need to use loop to take user input, one by one. |