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 100<points<1000:
- bonus+=points*0.2
- elif points<=100:
- bonus=5
- if points%2==0:
- bonus+=1
- if points%10==5:
- bonus+=2
- total=points+bonus
- print(bonus)
- print(total)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement