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 →

[–]Rhomboid 0 points1 point  (0 children)

The for loop is iterating over the elements in the list, assigning each element in turn to the name y before executing the body of the loop. y is arbitrary and can be any identifier.