Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 8)
8.
How do you access the element at index 2 in a one-dimensional array named
arr
?
Answer: Option
Explanation:
In Python arrays, elements can be accessed using square brackets and the index, like
arr[index]
.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers