Python Seconds Hacking Project

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: kgudger, bfinio, Moderators

Locked
thebooksprincess
Posts: 1
Joined: Sun Sep 25, 2016 10:04 am
Occupation: Student

Python Seconds Hacking Project

Post 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.
Locked

Return to “Grades 9-12: Math and Computer Science”