Question: # display a welcome message print ( The Test Scores program ) print ( ) print ( Enter 3 test scores ) print

# display a welcome message
print("The Test Scores program")
print()
print("Enter 3 test scores")
print("======================")
# get scores from the user
total_score =0 # initialize the variable for accumulating scores
total_score += int(input("Enter test score: "))
total_score += int(input("Enter test score: "))
total_score += int(input("Enter test score: "))
# calculate average score
average_score = round(total_score /3)
# format and display the result
print("======================")
print("Your scores: ", score1, score2, score3)
print("Total Score: ", total_score,"
Average Score:", average_score)
print()
print("Bye")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!