from os import system
from time import sleep
from datetime import timedelta, time
h, m, s = 0, 0, 0
s = int(input('seconds: '))
m = int(input('minutes: '))
h = int(input('hours: '))
def delta(h, m, s):
delta = timedelta(
days=0,
seconds=s,
microseconds=0,
milliseconds=0,
minutes=m,
hours=h,
weeks=0
)
print(delta)
while s >= 0:
system('CLS')
delta(h, m, s)
s -=1
sleep(1)
print('end')
input('Tap ENTER for exit')