create a program that determines the type of medal of the total score.The users enters 3 scores from 3 sorts. 10 points is the highest scorein a sport
'''
create a program that determines the type of medal of the total score.
The users enters 3 scores from 3 sorts. 10 points is the highest scorein a sport
'''
a = int(input("Enter Score (0 to 10) from Sport-1: "))
b = int(input("Enter Score (0 to 10) from Sport-2: "))
c = int(input("Enter Score (0 to 10) from Sport-3: "))
Score = (a+b+c)/3
print("Average Score = ",round(Score,2))
if(Score>=9): print("GOLD MEDAL")
if(Score>=7 and Score<9): print("SILVER MEDAL")
if(Score>=6 and Score<7): print("BRONZ MEDAL")
Comments
Leave a comment