Solving Python

24/7 Homework Help

Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!

1. This program includes bank account variable (with infinite while loop recommended)
2. It will ask the user if they want to 1 deposit or 2 withdraw (use if statements)
3. If the user inputs something other than 1 or 2, the loop will reset
4. If the user selects deposit, the program will add the value to the bank variable
5. If the user selects withdraw, the program will deduct the value from the bank variable
6. Whenever the user inputs an invalid number (like a negative, or withdraw is bigger than the bank variable amount, the loop will do nothing and reset)
7. Since it’s an infinite loop, the loop should never stop asking for deposit or withdrawal

Hire a competent writer to help you with

Solving Python

troublesome homework