time.sleep() in Python - GeeksforGeeks
https://www.geeksforgeeks.org/sleep-in-python10.04.2018 · Python time sleep() function suspends execution for the given number of seconds.. Sometimes, there is a need to halt the flow of the program so that several other executions can take place or simply due to the utility required. sleep() can come handy in such a situation which provides an accurate and flexible way to halt the flow of code for any period of time.