Files
www-hd/lectures/pycourse/Practice Problem - Temperatures.ipynb
T
2024-09-19 18:08:56 +02:00

1.5 KiB

Practice Problem - Temperatures

Use the data/munich_temperatures_average.txt data file, which gives the temperature in Munich every day for several years. Read in the data, and print out the minimum, average maximum temperature for each year, e.g:

1995: -3C  10C  35C
1996: ...

Note: A convenient way to do this, is using dictionaries.

When you are done with this, print out the same values, but for each month (averaged over years), e.g.:

January: -15C 0C 3C
February: ...

Solution

In [ ]:

# your solution here