Exercise: Compare temperatures

In the following exercise, we make use of the weather data gathered by the city of Innsbruck over the last decades. You are given two variables, avgtemp_1997_2006 and avgtemp_2007_2016, each containing the monthly average temperatures in Innsbruck for the years 1997 to 2006 and 2007 to 2016.

Use an appropriate relational operator and check in which months there was an increase in the average temperature.


Submit code to see output here.

Use basic operators