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