How do I call the different parts of the tables within "z"? For example, how get the third value in the second table (7) to use in a print function?
Many thanks!
When you define a table like that, any entry without a specified key is given a numerical index, like an array. So, the first table there would be 1, the second table would be 2, etc. The same goes for the values within the tables.
So, the third value in the second table would be referred to by z[2][3]. z[2] points to the second table, and [3] points to the third value within that table.