What’s the primary use case of for loops in Python?
for
Select one:
To iterate an unknown number of times based on a condition
To handle exceptions in code
To create infinite loops
To iterate over the items in a data collection
Hint
Think about how you might want to process a list of items.
Sorry! There has been an error processing your answer. Please try again.
Got feedback on this question?