Question: Please use python program and kindly share code (with comments to guide understanding) A cookie recipe calls for the following ingredients: - 1.25 cups of
Please use python program and kindly share code (with comments to guide understanding)

A cookie recipe calls for the following ingredients: - 1.25 cups of butter - 1.5 cups of sugar - 2.5 cups of flour The recipe produces 48 cookies with this amount of the ingredients. Write a program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient needed to make the specified number of cookies. The precision of the output for each ingredient must be set to 2 , which means the number output should be rounded to two decimal places, and the width of the output should be 10 . Test your program with the following data: Finally, format your program to match the sample below. Your output should exactly match the sample output, character for character, including all white space and punctuation. User input in the sample has been highlighted in Pappy's Purple to distinguish it from the program's output, but your user input does not need to be colored. Save your finished program as cookie_recipe_login. py, where login is your Purdue login. Then submit it along with a screenshot showing a run of all 3 test cases
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
