Page 1 of 1

Python Seconds Hacking Project

Posted: Sun Sep 25, 2016 10:12 am
by thebooksprincess
Hey we were working on setting the guesses to one second, but it keeps on saying something in the form of:
>>> foundit = search_method_1(3)
Using method 1 and searching for 3 digit numbers.
The search took 0.07 seconds for 1,000 tests or 12,803 tests per second.
>>> foundit = search_method_1(4)
Using method 1 and searching for 4 digit numbers.
The search took 0.18 seconds for 10,000 tests or 53,341 tests per second.
Is this right?
Thank you.