Python Programming - Conditional Statements - Discussion
Discussion Forum : Conditional Statements - General Questions (Q.No. 22)
22.
How can you iterate over both the index and the elements of a list in a
for
loop?
Answer: Option
Explanation:
The
enumerate()
function is used to iterate over both the index and the elements of a list in a for loop.
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