May 18, 2021

Python基础

Function - 功能

Sleep function - 睡眠功能

It suspends (waits) execution of the current thread for a given number of seconds.

1
2
import time
time.sleep(3.1)


参考资料

About this Post

This post is written by Andy, licensed under CC BY-NC 4.0.

#Python#Foundation