title: How to make loop that continues until user is finished with selections?
body: <p>I am trying to create a banking program. I want the user to select something (we will say 'D' for deposit) and then when the code completes and the user get their new account total returned, I want to start over at the <code>Useraction</code> and have that happen continuously until the user is done with all of their transactions.</p>
  <pre><code>print('What would you like to do?')
  
  UserAction = input(&quot;Type 'D' to make deposit\nType 'W' to make a withdrawal\nType 'B' to check your balance: &quot;)
  
  while True:
      if UserAction.upper() == 'D':
          print('Your current balance is', Userbal, 'Dollars' ) ; sleep(1)
          DepositAmount = input('How much would you like to deposit? (include cents too): ')
          pro()
          print('Your balance has been updated!')
          UserCash = float(Userbal) + float(DepositAmount)
          Userbal = '{:.2f}'.format(UserCash)
          print('Your new balance is', Userbal, 'Dollars' )  
          UserAction 
          
  
      if UserAction.upper() == 'W':
          print('Your current balance is', Userbal, 'Dollars' ) ; sleep(1)
          WithdrawAmount = input('How much would you like to withdraw? (include cents too): ')
          pro()
          print('Your balance has been updated!')
          UserCash = float(Userbal) - float(WithdrawAmount)
          Userbal = '{:.2f}'.format(UserCash)
          print('Your new balance is', Userbal, 'Dollars' )  
          UserAction
          
  
      if UserAction.upper() == 'B':
          print('Your current balance is', Userbal, 'Dollars' )
          UserAction
  </code></pre>