Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while True:
- destination = input()
- if destination == 'End':
- break
- budget = float(input())
- money = 0
- while money < budget:
- money += float(input())
- print(f"Going to {destination}!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement