Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

actual python iterators

>>> # Measure some strings:
... words = ['cat', 'window', 'defenestrate']
>>> for w in words:
...     print(w, len(w))
...
cat 3
window 6
defenestrate 12
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #actual #python #iterators
ADD COMMENT
Topic
Name
9+8 =