Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. destination = input()
  2.  
  3. while destination != 'End':
  4.     budget = float(input())
  5.     saved = 0
  6.     while saved < budget:
  7.         savings = float(input())
  8.         saved += savings
  9.     print(f"Going to {destination}!")
  10.     destination = input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement