import numpy as np

x = np.arange(6)

x

x + 1

x1 = np.arange(3)

x2 = np.ones((3, 3))

x1

x2

x1 + x2

x2[:, :] = 6

x2

x2

x1

x2[0:2] = x1

x2

y2 = np.ones((1, 3))

y2

y2.shape

x2

x2.shape

x2 - y2

