+1 vote
in NumPy by
create matrix 2 * 2 with value ranging from 1 to 3

1 Answer

0 votes
by
create matrix 2 * 2 with value ranging from 1 to 3

 arr = np.arange(0,4).reshape(2,2)

print(arr)
...