
import time
import pygame
print("> 如果你不想再倒计时了,按Ctrl + C")
a = int(input("> 小时:"))
b = int(input("> 分钟:"))
c = int(input("> 秒:"))
d = a * 60 * 60
e = b * 60
f = d + e + c
q = 0
for i in range(f, 0, -1):
if b == 0:
if a == 0:
print(f"> {c}秒")
elif a == 0:
print(f"> {b}分,{c}秒")
else:
print(f"> {a}时,{b}分,{c}秒")
if c == 0:
if b != 0:
b -= 1
c += 60
q = 1
if b == 0:
if a != 0:
a -= 1
b += 59
if q != 1:
c += 60
c -= 1
time.sleep(1)
for i in range(30):
print("时间到了!!!")
time.sleep(0.9)



