from threading import Thread
def fun1():
print("Working1")
def fun2():
print("Working2")
Thread(target=fun1).start()
Thread(target=fun2).start()
from threading import Thread
def func1():
print('Working')
def func2():
print("Working")
if __name__ == '__main__':
Thread(target = func1).start()
Thread(target = func2).start()