I read that python doesn't have native array data structure. Then I read the library https://docs.python.org/2/library/array.html but can't find how to create 2 dimentional array How can I create that type of array or are there any ways to replace array in python?
-
You could use list of lists. docs.python.org/2/tutorial/datastructures.html#more-on-listsWannaBeCoder– WannaBeCoder2015-04-06 12:25:25 +00:00Commented Apr 6, 2015 at 12:25
-
1Since you said three or more, It is better to go for Numpy array as mentioned in stackoverflow.com/questions/15448594/…WannaBeCoder– WannaBeCoder2015-04-06 12:28:54 +00:00Commented Apr 6, 2015 at 12:28
Add a comment
|