为什么一段用python海龟绘图的倒计时牌不能响应?

rt,main()和dtime()分别都能正常运行,但是都调用时就程序未响应?也没有报错?


```python
import turtle
import time

global h,m,s,hp,mp,sp,hs,ms,ss,hn,mn,sn
h,m,s=0,0,0
hs,ms,ss='','',''
h,m,s=map(int,input().split(":"))
hs=time.strftime('%H',time.gmtime())
ms=time.strftime('%M',time.gmtime())
ss=time.strftime('%S',time.gmtime())
hp,mp,sp=str(h),str(m),str(s)

turtle.tracer(False)
def drawgap():
    turtle.pu()
    turtle.fd(5)
    turtle.pd()
    
def drawline(j):
    drawgap()
    if j==0:
        turtle.pd()
    else:
        turtle.pu()
    turtle.right(45)
    turtle.fd(5*2**0.5)
    turtle.left(45)
    turtle.fd(90)
    turtle.left(45)
    turtle.fd(5*2**0.5)
    turtle.left(90)
    turtle.fd(5*2**0.5)
    turtle.left(45)
    turtle.fd(90)
    turtle.left(45)
    turtle.fd(5*2**0.5)
    turtle.left(135)
    turtle.pu()
    turtle.fd(100)
    drawgap()
    turtle.left(90)

def drawnum(i):
    drawline(0) if i in [2,3,4,5,6,8,9] else drawline(1)
    drawline(0) if i in [0,1,2,3,4,7,8,9] else drawline(1)
    drawline(0) if i in [0,2,3,5,6,7,8,9] else drawline(1)
    drawline(0) if i in [0,4,5,6,8,9]  else drawline(1)
    turtle.right(90)
    drawline(0) if i in [0,2,6,8]  else drawline(1)
    drawline(0) if i in [0,2,3,5,6,8,9]  else drawline(1)
    drawline(0) if i in [0,1,3,4,5,6,7,8,9]  else drawline(1)
    turtle.right(180)
    turtle.pu()
    turtle.fd(30)

def drawcircle(x,y):
    turtle.pu()
    turtle.goto(x,y)
    turtle.pd()
    turtle.circle(7,360)

def dtime():
    global hp,mp,sp
    while True:
        hn=time.strftime('%H',time.gmtime())
        mn=time.strftime('%M',time.gmtime())
        sn=time.strftime('%S',time.gmtime())
        if hp!=str(h-(int(hn)-int(hs))) or mp!=str(m-(int(mn)-int(ms))) or sp!=str(s-(int(sn)-int(ss))):
            hp=str(h-(int(hn)-int(hs)))
            mp=str(m-(int(mn)-int(ms)))
            sp=str(s-(int(sn)-int(ss)))
        while int(hp)==0 and int(mp)==0 and int(sp)==0:
            break
        
def main():
    turtle.setup(1200,400)
    drawcircle(-180,10)
    drawcircle(-180,-90)
    drawcircle(170,10)
    drawcircle(170,-90)
    turtle.pu()
    turtle.goto(-480,0)
    for c in hp.zfill(2):
        drawnum(eval(c))
    turtle.pu()
    turtle.goto(-130,0)
    for c in mp.zfill(2):
        drawnum(eval(c))
    turtle.pu()
    turtle.goto(220,0)
    for c in sp.zfill(2):
        drawnum(eval(c))

dtime()
main()