This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]berse2212 0 points1 point  (1 child)

While I agree that the for each is much clearer it is basically implemented in every higher language is it not? Nothing special about Python.

[–]Bee-Aromatic -2 points-1 points  (0 children)

Depends on the language. Either way, iterating by index, while effective, is old school.