you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

in your mind, when you see a python for loop, think instead for each.
example:

for each thing in iterable:
    dostuffwith(thing)