From Frank, 2 Weeks ago, written in Plain Text.
Embed
  1.     print(timeit.timeit('10000 in list(range(10**5)) ', number=10))
  2.     print(timeit.timeit('10000 in set(range(10**5))', number=10))
  3.     print(timeit.timeit('10 in list(range(10**2)) ', number=10))
  4.     print(timeit.timeit('10 in set(range(10**2))', number=10))