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