Hey guys,
I don't understand the for loop. Could someone explain it to me?
for example
>>> # Measure some strings:
... a = ['cat', 'window', 'defenestrate']
>>> for x in a:
... print x, len(x)
...
cat 3
window 6
defenestrate 12
what is x? how does 'x' know what to measure?