From 0a957e7a511586970cc601f3c80593c21d92c2cd Mon Sep 17 00:00:00 2001 From: poornapragna877 <54894632+poornapragna877@users.noreply.github.com> Date: Sat, 5 Oct 2019 23:19:15 +0530 Subject: [PATCH] Update stopwatch.py Small Typo: "changed lapTine to lapTime" . --- stopwatch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stopwatch.py b/stopwatch.py index abd0fa5..d9fa274 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -10,10 +10,10 @@ try : while True : input() - lapTine=round(time.time() - lastTime, 2) + lapTime=round(time.time() - lastTime, 2) totalTime=round(time.time() - startTime ,2) print('Lap #%s: %s' %(lapNum, totalTime)) - print('Time between Lap #%s and Lap #%s: %s' %(lapNum-1, lapNum, lapTine), end='') + print('Time between Lap #%s and Lap #%s: %s' %(lapNum-1, lapNum, lapTime), end='') print(' ') lapNum+=1; lastTime=time.time()