Python | for loop quiz | Question 1

Last Updated :
Discuss
Comments

What is the purpose of a for loop in Python?

To define a function

To iterate over a sequence or iterable

To create a conditional statement

To perform arithmetic operations

Share your thoughts in the comments