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

68 lines
1.5 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Practice Problem - Temperatures"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Use the [data/munich_temperatures_average.txt](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:\n",
"\n",
" 1995: -3C 10C 35C\n",
" 1996: ...\n",
"\n",
"**Note:** A convenient way to do this, is using dictionaries.\n",
"\n",
"When you are done with this, print out the same values, but for each month (averaged over years), e.g.:\n",
"\n",
" January: -15C 0C 3C\n",
" February: ..."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Solution"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"\n",
"# your solution here\n"
]
}
],
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 1
}