Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 652 Bytes

tables.md

File metadata and controls

24 lines (15 loc) · 652 Bytes

Tables

Exercise 1:

Create an empty table of 10 x 10 cells.

Exercise 2:

Fill the table with the numbers from 1 to 100.

Exercise 3:

Save the table to a file.

Exercise 4:

Calculate the average number from the count column for a file with baby names for the year 2000 and print it.

Exercise 5:

Calculate the standard deviation as well.

Exercise 6:

Calculate how many girls' names and boys' names are there in total in 1900 and in 2000.

Exercise 7: Merge the files

Read all name files. Add an extra column for the year, so that you end up with a single big table with four columns. Save that table to a text file.