#!/usr/local/bin/python2 l = [1,2,3] for i in xrange(1000000): any(e == 3 for e in l)