ooops you are right. Should have been: pets = ["cat", "dog", "bird"] num_pets = 0 for i in pets: num_pets += 1 print "pet" + "#" + num_pets
That's the problem with one offs. I don't read them :). -- http://mail.python.org/mailman/listinfo/python-list