[BangPypers] Beginner Help
gaurav.tula at gmail.com
Tue Apr 2 11:08:22 CEST 2013
Below is the code (with output) which can be found in the Python Official
>>> # Measure some strings:
... words = ['cat', 'window', 'defenestrate']
>>> for w in words:
... print w, len(w)
# The Problem is:
When "w" is not defined how python interpreter can evaluate the output??
Please Explain the lines where "w" is occurred. if i would replace "w" with
any other variable, it will show the same output.
I want to know "What is happening in the back (i mean how interpreter is
handling it)" ??
Thanks & Regards,
More information about the BangPypers