Is there a better way to count iterations that this?:

pets = 0
for i in pets:
    pets += 1
    print "pet" + "#" + pets

Thanks,
Derek Basch

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to