Question: Write a program: The following table contains temperatures from Mon through Thu Use dictionary data structure to hold the data in this table Calculate the
Write a program:
- The following table contains temperatures from Mon through Thu
- Use dictionary data structure to hold the data in this table
- Calculate the average temperature for each day
- Print the output in the following format:
Hint: refer to Dictionary Comprehensions on slide page 32
| Mon | Tue | Wed | Thu |
| 66 | 50 | 75 | 67 |
| 70 | 56 | 80 | 74 |
| 74 | 64 | 83 | 81 |
|
|
|
|
|
Output:
Python please.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
