class thread(target: Callable, args: Tuple = (), kwargs: Dict = {}):
def is_running(self) -> bool:
def test(word, name):
while True:
print(f"Hello {word}, from {name}")
time.sleep(1)
my_thread = thread(test, args=("world", "Igor"))
my_thread.start()
while True:
print("Main thread working too...")
time.sleep(1)
pass