Data Structures

Data Structure 

Example code and what it is 

Arrays –up to 3D 

An area of memory which all has the same datatype 

Records 

A data structure that holds several sets of similar datatypes, called fields, similar to a 2d array. 

Basically a coded version of an excel spreadsheet 

There is no exact way to code records in python, if I was going to code a record it would look quite similar to a 2D array with defined field names. 

Tuples 

An array version of a constant, is not mutable 

Dictionaries 

It can be used to translate an input to a predefined value, can convert between datatypes