But now the scientist wants to analyse a temperature value for every day of the year?
That is 365 different values (and 366 in each leap year!).
It will be difficult to analyse 365 different variables.
For this kind of problem it is easier to create a collection.
In Python, we can use a collection known as a list.
Let's populate tempValues:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 |
Python code sample
is some review code to consider.
arrayauto-indent data structurecompile linear index fixed-length iterate listsyntax