+1 vote
in NumPy by
create a matrix 3 * 3 with value ranging from 0 to 8

1 Answer

0 votes
by
arr = np.arange(0,9).reshape(3,3)

print(arr)
...