Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- score = int(input())
- bonus = 0
- if score <= 100:
- bonus = 5
- elif score > 1000:
- bonus = score * 0.1
- elif score > 100:
- bonus = score * 0.2
- if score % 2 == 0:
- bonus += 1
- elif score % 10 == 5:
- bonus += 2
- print(bonus)
- print(score + bonus)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement