Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

#Problem statement #

Create a timer app/function. Use time of course but also throw in the timestamps and even some basic calculations on the difference between the start and end timestamps.

It takes the time is seconds for which the timer is to be set as input from the user.

Asks user to press ENTER separately when he wishes to start the timer.

#Output of 1Timer.py #

enter time is seconds for timer: 6

Press enter to start timer

the start time is [2019-09-21 12:38:49.559176]

the end_time is [2019-09-21 12:38:55.559176]

your time is up - 6 seconds and the time is [Sat Sep 21 12:38:55 2019]

Morty Proxy This is a proxified and sanitized view of the page, visit original site.