python web03-线程-05-验证创建线程以及运行时间 import threading import time def test1(): for i in range(5): print("-----test1---%d---" % i) time.sleep