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
Print first position, last position and 2nd and 3rd position
Home
NumPy
Print first position, last position and 2nd and 3rd position
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
Print first position, last position and 2nd and 3rd position
print-numpy
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 4, 2021
by
sharadyadav1986
Print first position, last position and 2nd and 3rd position
num = np.array([5,15,25,35]) if not added
print(‘\n first position : ‘,num[0]) #5
print(‘\n third position : ‘,num[2]) #25
Related questions
+2
votes
Q: How to print zeros with 2 rows and 3 columns ?
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
print-numpy
+2
votes
Q: if we don’t know last number of position how to show it by pragmatically ?
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
number-position
0
votes
Q: Do we need to place 2nd and 3rd Data in Rack 2 only?
asked
Jun 23, 2023
in
HDFS
by
rajeshsharma
hdfs
0
votes
Q: Let’s say we can hear a beat frequency of 2Hz from two tuning forks. The first tuning fork has a frequency of 100Hz. If wax is applied on the 2nd tuning fork, the beat frequency becomes 4Hz,
asked
Oct 3, 2021
in
Class-XI-PHYSICS
by
AdilsonLima
cbse
+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: 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
+1
vote
Q: create 4*4 and print 0 to 12
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
create-array
+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: 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
...