import time as t
class Timecounter():
def __init__(self,hour,minute,second):
self.timelen=[]
self.timelen.append(hour)
self.timelen.append(minute)
self.timelen.append(second)
def start(self):
self.aim=[]
self.begin=t.localtime()
c=3
for i in range(3):
self.aim.append(self.begin[c]+self.timelen[i])
c+=1
if self.aim[
Python实现简单倒计时工具
最新推荐文章于 2024-07-12 16:16:27 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)