Click here to Skip to main content
15,924,196 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to make a game for seeing how good people are at guessing when 10 seconds have elapsed, in Python but I'm not sure how to create a timer.
any help will be much appreciated. Thanks

What I have tried:

I haven't been successful at finding anything that would help me.
Posted
Updated 13-Sep-16 21:34pm

1 solution

Call the time[^] method twice (each time the enter key is pressed) and then subtract the values to get the elapsed interval.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900