TypeError: unorderable types: function() < int()

Chris Angelico rosuav at gmail.com
Tue May 10 09:47:46 EDT 2016


On Tue, May 10, 2016 at 11:40 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> You are asking the player to hit enter at 10 seconds. *Exactly* ten seconds.
> The computer can measure time to well under a millionth of a second, I'm
> pretty sure that nobody, no matter how skillful, can be expected to hit
> enter after exactly 10.000000 seconds, not 10.000001 or 9.999999 seconds.
>

But the times were being calculated at one-second resolution, which
solves that but raises its own issues.

ChrisA



More information about the Python-list mailing list