Is there a better way to count iterations that this?:
pets = 0
for i in pets:
pets += 1
print "pet" + "#" + petsThanks, Derek Basch -- http://mail.python.org/mailman/listinfo/python-list
Is there a better way to count iterations that this?:
pets = 0
for i in pets:
pets += 1
print "pet" + "#" + petsThanks, Derek Basch -- http://mail.python.org/mailman/listinfo/python-list