Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
create 4*4 and print 0 to 12
Home
NumPy
create 4*4 and print 0 to 12
+1
vote
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create 4*4 and print 0 to 12
create-array
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 8, 2021
by
rajeshsharma
create 4*4 and print 0 to 12
num_arr = np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12]])
print(num_arr)
...