python学习-计时器练习 import time as tclass MyTimer(): def __init__(self): self.unit=['年','月','天','小时','分钟','秒'] self.prompt="未开始计时!" self.lasted=[] self.begin=0 self.end=0 def ...