wie man in einer Schleifenpython zählt
count=0
for item in list:
print item
count +=1
if count % 10 == 0:
print 'did ten'
Exuberant Elephant
count=0
for item in list:
print item
count +=1
if count % 10 == 0:
print 'did ten'