>>> import numpy as np
>>> A = np.array([1,7,3,7,3,6,4,9,5])
>>> A
array([1, 7, 3, 7, 3, 6, 4, 9, 5])
a=[]
for i in range(8):
a.append(i)
>>> A = np.array([[4,7,6],[1,2,5],[9,3,8]])
>>> A
array([[4, 7, 6],
[1, 2, 5],
[9, 3, 8]])
>>> A.shape
(3, 3)