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
How to print zeros with 2 rows and 3 columns ?
Home
NumPy
How to print zeros with 2 rows and 3 columns ?
+2
votes
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
How to print zeros with 2 rows and 3 columns ?
print-numpy
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 3, 2021
by
sharadyadav1986
arr2 = np.zeros((2,3))
print(‘\nprint 2 rows and 3 cols : ‘,arr2)
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+2
votes
Q: Print first position, last position and 2nd and 3rd position
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-numpy
+2
votes
Q: How to Print Range Between random number 2 row and 3 cols integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
+2
votes
Q: Print 5 zeros in NumPy
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
numpy-print
+1
vote
Q: Print reshape devide into array like 2 array with 5 values
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-reshape
+1
vote
Q: create matrix 2 * 2 with value ranging from 1 to 3
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
numpy-matrix
+1
vote
Q: print value who divide by 2 and remain is 0.
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
convert-boolean
+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
+2
votes
Q: Print row 2 column 2 output will 9
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-row
+1
vote
Q: What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
2d-indexing
0
votes
Q: What is the output of print tuple[1:3] if tuple = ( 'abcd', 786 , 2.23, 'john', 70.2 )?
asked
May 16, 2020
by
AdilsonLima
#python
...