污垢魔鬼快速精简版
条件:新
功能:是的
损坏:无
需要组装:否
包装:是的
缺少的部分:没有
$20.00價格
# import the time module import time # define the countdown func. def countdown(t): while t: mins, secs = divmod(t, 60) timer = '{:02d}:{:02d}'.format(mins, secs) print(timer, end="\r") time.sleep(1) t -= 1 print('Happy Chinese New Year!') # input time in seconds t = input("Enter the time in seconds: ") # function call countdown(int(t))