[python]斐波那契数列(多线程)
import threading
a = 1
b = 1
def con(i):
try:
print(a)
except:
pass
for i in range(20):
a,b = b,a+b
t=threading.Thread(target=con,args=(i,))
t.start()