Question: a ) Use dictionary and list element extraction methods to create variables Monday _ profit and Thursday _ profit that record the profits on these
a Use dictionary and list element extraction methods to create variables "Mondayprofit" and "Thursdayprofit" that record the profits on these days and print the values of these variables. points
b Create a list profitability for each day profit sales costs You can either manually type it or use a for loop. If you prefer, you may do this in a much elegant way using Numpy arrays. points
c Use loops to print the profitability for each day: The loop should print the statements in this manner "The profitability on dayname is The day name must be replaced by actual name in each statement and by the day's profitability. points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
