Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"


I can not get the script to print in the correct format of : mine prints the first two line together?

What would you like to do?

Your current balance:


account_balance = float(500.50)

def balance():

  print(“Your current balance:n$%.2f”%account_balance)

userchoice = input(“What would you like to do?”)           

if userchoice == ‘B’:

 print(“Your current balance:”)

 print (account_balance)

 account_balance = “nBegining Balance: “+str(account_balance)

elif (userchoice == ‘D’):

  deposit_amount=float(input(“How much would you like to deposit today?”))


  account_balance += “Deposit Amount: “+str(deposit_amount)

elif (userchoice == ‘W’):

  withdrawal_amount=float(input(“How much would you like to withdraw?”))


  account_balance += “Withdrawal Amount: “+str(withdrawal_amount)

elif (userchoice == ‘Q’):

  print (“Thank you for banking with us.”)

"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"