Login
Remember
Register
Ask a Question
create a matrix 3 * 3 with value ranging from 0 to 8
+1
vote
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create a matrix 3 * 3 with value ranging from 0 to 8
numpy-matrix
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 8, 2021
by
rajeshsharma
arr = np.arange(0,9).reshape(3,3)
print(arr)
...