+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)

Related questions

0 votes
asked Jan 23, 2020 in Data Science by AdilsonLima
+1 vote
asked Jul 8, 2021 in NumPy by rajeshsharma
...