import numpy as np
A = np.array([[0,0], [0,0]])
print(A)
print(A[0][0])
print(A[0][0])
print(np.shape(A))

#Q2: 
I = np.eye(2)
print(I)

#Q3:
Z = np.zeros((2,2))
print(Z)

#Q4:
B=A-I
C=A+I

#Q6:
BC=np.dot(B,C)
CB=np.dot(C,B)

#Q7:

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: