Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def checkio(data):
- balance, withdrawal = data
- for w in withdrawal:
- if w >= balance:
- continue
- elif w % 5 != 0:
- continue
- balance -= w + (w * 0.01)
- balance = math.floor(balance)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement