Question: need answer in programming form zyBooks CHALLENGE ACTIVITY 1.18.2: Compute change A cashier distributes change using the maximum number of five-dollar bills, followed by one-dollar
need answer in programming form

zyBooks CHALLENGE ACTIVITY 1.18.2: Compute change A cashier distributes change using the maximum number of five-dollar bills, followed by one-dollar bills. Write a single statement that assigns num_ones with the number of distributed one-dollar bills given amount_to change. Hint Use %. Sample output with input. 19 Change for $ 19 3 five dollar bill(s) and 4 one dollar bill (s) earn how our autograder works 572504 4208776.2.FFMY7 1 amount_to_change = int(input () ) 2 3 nun_fives - amount_to_change / / 5 4 5 ."Your solution goes here . ". al Mdata 6 amount_to_change - int(input()) 7 nun fives - amount_to_change / /5 A num_ones - amount_to_change *5 9 print ( 'Change for $' , amount_to_change) 10 print (num_fives, 'five dollar bill(s) and', non_ones, "one dollar bill(s)") Run * Not all tests passed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
