Threading not running in Python

Viewed 35

Any idea as to why Jupyter isn't running my code? I tried running the function "hello" separately and got it to run but can't seem to get the Timer to run it.

import time
from threading import Timer

def hello():
    print("hello world")
    
t=Timer(1,hello)
t.start()

Picture of terminal

0 Answers
Related