Question: I need some help creating a while loop. I don't understand how to set an input of zero to end the loop. Thanks. (budget.py Complete
I need some help creating a while loop. I don't understand how to set an input of zero to end the loop.
Thanks.
(budget.py Complete Chapter 4 Programming Exercises #3, "Budget Analysis". No input validation is required. See the following two sample runs below to get an idea of what your finished program should look like: I. Sample run #1: Enter amount budgeted for the month: 1250.e0 Enter an amount spent (0 to quit): 125.87 Enter an amount spent(8 to quit): 29 Enter an amount spent (0 to quit): 15 Enter an amount spent (0 to quit): 198 Enter an amount spent (0 to quit): 345.99 Enter an amount spent (0 to quit):e Budgeted: 1250.00 Spent 704.86 You are 545.14 under budget. WELL DONE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
