can I get the index number in for x in y loop?
JuHui
phpbird at gmail.com
Mon Apr 3 11:32:52 EDT 2006
>>> a='String'
>>> for x in a:
... print x
...
S
t
r
i
n
g
>>>
can I get the index number of a in the upon loop within for x in a
loop?
More information about the Python-list
mailing list