#如何创建线程
def f1(arg):
print(arg)
import threading


# for i in range(10):
# t=threading.Thread(target=f1,args=(i,))
# t.start()


t=threading.Thread(target=f1,args=(123,))
t.start()
f1(456)