Amazing-Python-Scripts

Форк
0

..
/
Countdown_clock_and_Timer 
4 года назад
README.md

Countdown Clock and Timer

Description

A simple timer that can be used to track runtime. The purpose of this is to provide a simple, and standard, way of tracking runtime.

  • This is very useful when testing implementations, and helpful when tracking the progress of longer-running programs.
  • The app will notify the user that the time has ended.

Language

  • Python

Checklist

NameAbout
Countdown clock and timerShows the current time and timer according to the user input.

Usage

To access the timer, this application imports the following modules.

import os
import time

Instructions to run this application

  1. Download and Run the countdown_clock_and_timer.py
  2. Set the countdown time.
  3. Enter the hours, minutes and seconds .
  4. Timer will be set according to the given input by the user.
  5. It will show the countdown time and display it when the time gets over.
Example Output

Output will be shown like that for the three seconds -

00:00:03
00:00:02
00:00:01
00:00:00
'Time is over'

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.