Create a lap timer with Python
The user needs to press ENTER to complete each lap. The timer keeps counting till CTRL+SHIFT is pressed.For each lap we calculate the lap time by subtracting the current time from the total time at the end of the previous lap. The time() function of the time module, returns the current epoch time in milliseconds.
[mai mult...]
