count with for loop python code example
Example: how to count in a loop python
count=0
for item in list:
print item
count +=1
if count % 10 == 0:
print 'did ten'
count=0
for item in list:
print item
count +=1
if count % 10 == 0:
print 'did ten'