Answer to Question #182590 in Python for Muhammad Bin Faudzi

Question #182590

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


1
Expert's answer
2021-04-17T15:53:54-0400
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)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS