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