代码:
import time import easygui as g n=int(g.enterbox("输入剩余时间)) for i in range(n,0,-1): for j in range(1,i+1,1): print("*",end="") print(i) time.sleep(1) print("blast off")
界面:
代码:
import time import easygui as g n=int(g.enterbox("输入剩余时间)) for i in range(n,0,-1): for j in range(1,i+1,1): print("*",end="") print(i) time.sleep(1) print("blast off")
界面: