python中怎么使用函数time . sleep ()

  介绍

这篇文章主要介绍了python中怎么使用函数time . sleep(),具有一定借鉴价值,需要的朋友可以参考下。希望大家阅读完这篇文章后大有收获。下面让小编带着大家一起了解一下。

<强> <强>

time . sleep(秒)

python中使用睡眠()函数

<强> <强>

import 时间   打印(“Welcome 用guru99  Python  Tutorials")   time . sleep (5)   print(“却;能够message  will  be  printed  after  a  wait  of  5, seconds")

<强> <强>

Welcome 用guru99  Python 教程   却;能够message  will  be  printed  after  a  wait  of  5,秒

感谢你能够认真阅读完这篇文章,希望小编分享python中怎么使用函数time . sleep()内容对大家有帮助,同时也希望大家多多支持,关注行业资讯频道,遇到问题就找,详细的解决方法等着你来学习!

python中怎么使用函数time . sleep ()