Using the 'sleep' function

/ Published in: Python
Save to your folder(s)

Dos formas de usar la función 'sleep' de Python.

Two ways to use the 'sleep' function in Python.

Copy this code and paste it in your HTML
  1. # First way:
  2. import time
  3. time.sleep(10)
  5. # Second way:
  6. from time import sleep
  7. sleep(10)


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.