[ create a new paste ] login | about

Link: http://codepad.org/ZyvVlTVr    [ 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.00459599494934


Create a new paste based on this one


Comments: