Jeff Shannon wrote: >Better still, and already valid: > >if index >= len(mylist): > print 'index out of range' ... although you would probably want to add the other condition as well: if index >= len(mylist) or index < 0: Jim