7.1 Introduction to Arrays
Just as integers, floating point numbers, complex numbers, rational number data types, and irrational number data types define single values of different types, a host of other data types holding multiple values at the same time also exists. Such data types include Array, Tuple (tuples), Dict (dictionary), and Set (sets).
Arrays are particularly interesting since they are used for defining vectors, tables, and matrices for scientific computing:
A 1D (one-dimensional) array acts as a vector or list.
A 2D array can be used as a table or matrix.
3D and more-D arrays can represent ...