8.4: understand how to write data structures (one-dimensional and two-dimensional arrays) to file by iteration
| Keyword | Definition |
|---|---|
| csv | type of file which is useful for storing data from a 2D array because each line stores multiple values separated by commas |
| index | a number which identifies the position of data within a list, array or string |
| iteration | using for or while loops to repeat a set of instructions or go through each value in a data structure such as a list |
| one dimensional array | a data structure like a list where one index is used to identify the position of a particular stored value |
| two dimensional array | a data structure like a list of lists where two indices are used to identify the position of a particular stored value |