How can I write and call on arrays in python?
I want to be able to do this....
nameofarray1 = (1, 2, 1, 5, 6, 3, 2, 6, 8, 9),
(4, 4, 3, 5, 7, 5, 5, 6, 8, 1),
....... and so on
and then later read from it by saying something such as...
if namofarray[xcooridinate, ycooridinate] == 2:
.............do something...........
So basically read the array by using x and y coordinates to search the array
Its probably pretty simple but I am getting errors on everything I try so..... Thanks and please try to help!