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

Related questions

0 votes
asked Jan 23, 2020 in Data Science by AdilsonLima
0 votes
asked Feb 14, 2020 in Agile by matthenary
...