Question: Program is done on python: Little Bobby wants to buy his own shiny new Radio Flyer Wagon ( pictured above ) . The wagon costs

Program is done on python:
Little Bobby wants to buy his own shiny new Radio Flyer Wagon (pictured above). The wagon costs $95. He has been saving for several months and he wants to know how much more money he needs.
Bobby's piggy bank holds $10,$5 and $1 bills (no coins or larger bills). Your job is to determine if he has enough money or how much more he needs.
Last month, Bobby had 4 $10 bills, 3 $5 bills and 14 $ bills. That adds up to $69 so you must tell Bobby that he is $26 short. job is to tell Bobby that he has enough money to buy the wagon.
Your job today is to write a program with three input statements - $1 bills, $5 bills anc $10 bills. [Variables cannot have $ signs in their names]. When you run the program Python should tell Bobby either how much more he needs or that he has enough mone to buy the little red wagon.
Here is some sample data for you:
\table[[Singles,Fives,Tens,Results],[4,3,6,You have $79. You need $16 more.],[2,11,3,You have $87. You need $8 more.],[4,0,9,You have $94 You need $ more.],[5,8,9,You have enough money to buy the wagon.]]
Save your work under the name RADIOFLYER.
 Program is done on python: Little Bobby wants to buy his

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!