Commit 5b8ea3cb authored by lixiaofang's avatar lixiaofang

add

parent f32a6007
This diff is collapsed.
......@@ -43,14 +43,14 @@ if __name__ == "__main__":
global exec_count
exec_count += 1
if exec_count == 2:
if exec_count == 1:
print("----1------")
sleep_time = random.randint(300, 540)
sleep_time = 30
timer = threading.Timer(sleep_time, fun_comment)
timer.start()
if exec_count == 3:
if exec_count == 2:
print("----2------")
sleep_time = random.randint(1000, 1900)
......@@ -68,7 +68,7 @@ if __name__ == "__main__":
global exec_count
exec_count += 1
if exec_count == 4:
if exec_count == 3:
print("----3------")
# sleep_time = random.randint(300, 540)
......@@ -76,7 +76,7 @@ if __name__ == "__main__":
timer = threading.Timer(sleep_time, fun_timer)
timer.start()
if exec_count == 5:
if exec_count == 4:
print("----4------")
# sleep_time = random.randint(1000, 1900)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment