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"
ORDER NOW

account_balance

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:

Need assignment help for this question?

If you need assistance with writing your essay, we are ready to help you!

OUR PROCESS

Order

Payment

Writing

Delivery

Why Choose Us: Cost-efficiency, Plagiarism free, Money Back Guarantee, On-time Delivery, Total Сonfidentiality, 24/7 Support, 100% originality

500.25

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?”))

  deposit(deposit_amount)

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

elif (userchoice == ‘W’):

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

  withdrawal(withdrawal_amount)

  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"