Question: I need help with this one. Calculate the Balance - Deposit If the action is Deposit D, use a deposit function to add funds to



I need help with this one.
Calculate the Balance - Deposit If the action is Deposit D, use a deposit function to add funds to the account 1. Write a function called deposit 2. Request from the user the amount to be deposited. This value should be stored in a variable called deposit amount. Use both the input and float methods in order to ensure the deposit amount is a float value. 3. Calculate a new account balance. 4. The calculation for depositing funds into the account is account balance account_balance+ deposit amount 5. Print the new account balance. Calculate the Balance - Deposit Customer Deposit Check It! SHOW DIFF LAST RUN on 2/7/2019. 6:16:07 PM Check 1 failed output: what would you like to do? How much would you like to Expected: what would you like to do? How much would you like to Deposit was $200.e0, currer import sys 2 3 4 account balance account-balance float(5.25) = 6 7 8 9 10 functions go here #printbalance function #deposit function 12 13 14 15 16 17 18 19 #withdraw function #User input goes here, use if/else conditional statement to call f userchoiceinput ("What would you like to do? ") 20if (userchoiceD': 21 deposit O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
