How to have add break for a few seconds in python

import time
time.sleep(5)   # Delays for 5 seconds. You can also use a float value.

Here is what the above code is Doing:
1. It’s importing the time module.
2. It’s using the time.sleep() function to pause the program for 5 seconds.
3. It’s printing a message to the console.
4. It’s pausing the program for 5 seconds again.
5. It’s printing another message to the console.