Write a program to display the result of
game competition based on the following
information:
Master Novice
Score >= 90 Gold -
Score >= 80 Silver -
Score >= 70 Silver Pass
Score < 70 No Medal Fail
print("Enter score: ", end='')
score = int(input())
medal = "No Medal Fail"
if score >= 70:
medal = "Silver Pass"
if score >= 80:
medal = "Silver -"
if score >= 90:
medal = "Gold -"
print(medal)
Comments
Leave a comment