Summercoolness at gmail.com wrote: > it seems that range() can be really slow: ... > if i in range (0, 10000): This creates a 10,000-element list and sequentially searches it. Of course that's gonna be slow.