2070 / Python / Таймер
import threading
def gfg(): print("2070")
timer = threading.Timer(2.0, gfg) # 2 c timer.start() print("Exit")
timer.cancel() # відмінити