Question: In python please include comments Write a program to print the ingredients of a cake recipe. Requirements: 1. Use a dictionary to for the recipe;
In python please include comments
Write a program to print the ingredients of a cake recipe. Requirements: 1. Use a dictionary to for the recipe; each key is a ingredient label and the correspond value is the weight of the ingredient, in oz. 2. Use a loop to traverse across the dictionary when printing 3. Only One statement, print(...), allowed in the loop body 4. The display of the ingredient list should be formatted as shown, number of whites spaces can be a little different than shown here: 10.1 oz 15.7 oz Ingredient List for Chocolate Cake 1. Flour: 2. Sugar: 3. Unsweetened Cocoa Powder: 4. Baking Powder: 5. Baking Soda 6. Salt 3.6 oz 0.3 Oz 0.4 oz 0.3 oz 7. Egg 5.8 oz 8. Buttermilk 11.5 oz 9. Canola Oi 5.2 oz 10. Vanilla Extract 0.4 oz 11. Boiling Water 10.9 oz
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
