Question
A program must process every value in a known list exactly once. Which construct is most appropriate?
Select an option. Your answer will be checked instantly.
Correct Answer: A. `for` loop
Explanation:
A `for` loop iterates directly over each element of a sequence or iterable. It is clearer than manually managing an index for this task.
Leave a Reply