多執行緒-共享全域性變數. import threading import time g_num = 200 def test1(): global g_num for i in range(5): g_num += 1 print("--test1 ...
確定! 回上一頁