[ create a new paste ] login | about

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

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


Output:
1
2
False
0.000617980957031


Create a new paste based on this one


Comments: