Question: Please do it with Python. #Problem 1 #Chip Brownie wants to know how much money it can potentially make in a day. #It estimates that

Please do it with Python.

#Problem 1

#Chip Brownie wants to know how much money it can potentially make in a day. #It estimates that for every chocolate chip cookie sold, it makes a profit of 1.59. #For every sugar cookie sold, it makes a profit of 2.03. The full list of cookies and profits are in the chipDictionary.

#Chip Brownie wants to know how much it could make in an 8 hour work day if it sold 5 of each cookie every hour.

#Use a while loop to keep track of the 8 hour work day. Loop through the dictionary every hour to calculate how much profit #chip brownie could make if they sold 5 of each cookie per hour. #Save the total profit of the entire day in a variable called totalRevenue. Print totalRevenue

# Code your answer in this code block

chipDictionary = {'chocolate chip': 1.59, 'sugar': 2.03, 'pumpkin':2.45, 'oatmeal':1.2}

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!