Alan Gauld wrote: > Add a 3rd step-value argument to range. (You don't need the xrange > on modern versions of Python BTW) Only if by 'modern' you mean Python 3; on Python 2.x there is a difference between range() and xrange(). Though for a list of 20 ints I don't think it matters much. Kent