Comment compter dans une boucle Python
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'