# This program gets three test scores and displays
# thier average. It congratulates the user if the
# average is a high score.

# The HIGH_SCORE variable holds the named constant that is considered a high score.
HIGH_SCORE = 95

# Get the three test scores.

test1 = int(input("Enter the score for test 1: "))
test2 = int(input("Enter the score for test 2: "))
test3 = int(input("Enter the score for test 3: "))

# Calculate the average test score.
average = ( test1 + test2 + test3 ) / 3.0

# Print the average.
print("The average score is", format(average, '.2f'))

# If high score congratulate the user.
if average >= HIGH_SCORE:
    print("Congratulations")
    print("That is a great average.")
