#!/usr/local/bin/python2 l = range(20) for i in xrange(100000): t = iter(l) [n for n in t][0]