2024-06-16 12:39:00 发布
网友
import time x = 1000 while True: time.sleep(0.05) x = x - 7 print(x) if x == 6: time.sleep(1) print("first", end=" ") print("second") break
我想在两个字之间耽搁几秒钟。我倒计时,最后在同一行中延迟打印两个WRD
import time x = 1000 while True: time.sleep(0.05) x = x - 7 print(x) if x == 6: print("first", end=" ", flush=True) time.sleep(1) print("second") break
相关问题 更多 >
编程相关推荐