假设当前时间是 24:56:04
我想做这样的事情:
variable time = current time (24:56:04) + 6 seconds.
If current time = or higher than time: print 'Success'
else print 'Fail'.
有可能这样做吗?如何?
另一个答案没有回答我的问题。因为我需要知道当前时间是否 = 上一次 + 10 秒。
假设当前时间是 24:56:04
我想做这样的事情:
variable time = current time (24:56:04) + 6 seconds.
If current time = or higher than time: print 'Success'
else print 'Fail'.
有可能这样做吗?如何?
另一个答案没有回答我的问题。因为我需要知道当前时间是否 = 上一次 + 10 秒。