Friday, January 31, 2014

3.1.2 Two Dimentional Arrays

Two dimensional arrays are list of lists. this means that it is constructed of multiple lists.
 In python a two dimensional array is used with rows for example row 1 is zero and the row contains letters. Lets say you want to select a letter such as b.
 you would say : print (letter[0][1])
 An example of two dimensional array in python is :
Useful link : http://www.processing.org/tutorials/2darray/

No comments:

Post a Comment