📅  最后修改于: 2022-03-11 14:45:25.619000             🧑  作者: Mango
lasttick = -0.01
tick = float(0.00)
while True:
tick = tick + float(0.01)
if tick > lasttick:
#Your tick update here:
print(tick) #Prints the tick
lasttick = lasttick + 0.01