import numpy as np arr = np.arange(36).reshape(3, 4, 3) print(arr) print(arr.shape)