1from numpy import *
2array = array([[1,2,3,4],[3,4,2,5]])
3
4## if want you can print it
5print(array)
1# Creates a list containing 5 lists, each of 8 items, all set to 0
2w, h = 8, 5;
3Matrix = [[0 for y in range(h)] for x in range(w)]
4
5Matrix[0][0] = 1
6Matrix[0][6] = 3 # error! range...
7Matrix[6][0] = 3 # valid
8