[ create a new paste ] login | about

Link: http://codepad.org/9bDKKknG    [ raw code | output | fork ]

Python, pasted on Dec 12:
1
2
3
4
5
6
7
8
9
from itertools import izip
from time import time
n=2
l=izip(xrange(10**n), xrange(10**n))
start=time()
for _ in xrange(10000):
    3 not in (x[0] for x in l)
end=time()
print end-start


Output:
1
0.0320219993591


Create a new paste based on this one


Comments: