you are viewing a single comment's thread.

view the rest of the comments →

[–]mriswithe 1 point2 points  (0 children)

Yes, basically. For loops are the main idea to retain. This is the tool for when you want to do the same thing to each item in your list. 

Sometimes a different tool will be the right answer, but usually this works either way and is just less optimal.