Answers for "how to delay a python for loop"

12

delay time python

import time

time.sleep(5) # sleeps for 5 seconds
Posted by: Guest on June-16-2020
2

how to make a forever loop in python

# The While Loop

while True:
  print("This will continue printing until the code returns False.")
Posted by: Guest on October-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language