Advertisement
CR7CR7

bonus_score

May 15th, 2022
806
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. score =int(input())
  2. if  1<= score <= 3:
  3.      score *= 10
  4. elif 4 <=score <= 6:
  5.      score *= 100
  6. elif 7<=score <= 9:
  7.     score *= 1000
  8. else:
  9.     score = 'invalid score'
  10.                
  11.  
  12. print(score)
Advertisement
RAW Paste Data Copied
Advertisement