Drop links or images here to add them to the editor.

Exercise 1.2.1

Calculate the average GDP per capita per country in Europe in 1962, its median and standard deviation using ./gapminder.csv data; and compare these figures with those from Americas.

Print the output as follows:

Europe:
Average: 8365.4868143
Median: 7515.7337375
Standard deviation: 4199.193906418378
America:
Average: 4901.5418704
Median: 4086.114078
Standard deviation: 3421.740568771563