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)
Related questions
+1
vote
Q: create an array of 20 linearly spaced point between 0 to 1
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create-array
+1
vote
Q: Which of the following is the correct way to create an array in PHP?
asked
May 13, 2022
in
PHP
by
john ganales
create-array
+2
votes
Q: How to Print Range Between 1 To 100 and show 4 integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-array
+2
votes
Q: How to Print Range Between 1 To 15 and show 4 integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
print-array
+1
vote
Q: print value who divide by 2 and remain is 0.
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
convert-boolean
+1
vote
Q: print random number from 0 to 1
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
print-random-number
+2
votes
Q: Print the probabilty arr = [0.23, 0.09, 1.2, 1.24, 9.99] using fix() this example of fuzzy logic or probability
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
probability
+1
vote
Q: create matrix 2 * 2 with value ranging from 1 to 4
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: create a matrix 3 * 3 with value ranging from 0 to 8
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: How to use of reshape ex.1 starting value is 1 and ending value is 50, print 10 integer random numbers
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-array
...