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