Dark theme

Hints


You can use the csv module to read the data, and the statistics module to process it. The trick is to get the data from the second column into a single list. There are a wide number of ways to do this. The longest is to read the data into a 2D list and then loop through it copying the second column into a new list; but there are shorter.


One answer