Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- destination = input()
- #спираме destination == "End"
- while destination != "End":
- min_budget = float(input())
- #спира да събира: парите >= мин.бюджет
- sum = 0
- while sum < min_budget:
- saved_money = float(input())
- sum += saved_money
- else:
- print(f"Going to {destination}!")
- destination = input()
Advertisement
Add Comment
Please, Sign In to add comment