Advertisement
CR7CR7

bonus_score

May 15th, 2022
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement