Don't use counters for iterating lists in Python: for x in list: print x