please tell me how to make sure that the function printit () is executed every second?
import threading
def printit():
print("Hello, World!")
threading.Timer(1.0, printit).start()
the problem is that the 'hello world' appears only once
please tell me how to make sure that the function printit () is executed every second?
import threading
def printit():
print("Hello, World!")
threading.Timer(1.0, printit).start()
the problem is that the 'hello world' appears only once