 Hi everyone, in this video, we will talk about sleep function in Python. Sleep function is a function that can pause execution for a specified number of seconds. In order to work with sleep function, we need to import time module. Let's make a simple example that will show us usage of sleep function and how it can be used for pausing execution of programs for specified number of seconds. Let's make a new file and inside that file, first what we want to do is to import time module because if we want to use sleep function, we need to import time module. Now let's make for loop in which we will iterate number of seconds that we want our program to be paused. So let's say for pause in seconds in and let's put values for example 2 seconds, 4 seconds, 6 seconds and 8 seconds. Okay and inside that loop, my next idea is to print in every iteration current time so we can check out how long execution was being paused. In order to do that, we will use function C time. So let's print current time, let's use print and function C time which also belongs to the time module. This function will print current time. Okay now we will use sleep function to pause execution and inside that function we will put number of seconds as argument. That number of seconds will represent number of seconds that we want our function to be paused. So let's say time.sleep and we will put second number of seconds inside these parenthesis. We can use variable pause in seconds to do that and finally let's print some text as a proof that after that pause our program is continued with execution. We can go without it but let's print some simple text. That will be our simple program. Now let's save it for example sleep example.py and now let's write. What we can see now here is that after 2 seconds program print high then after 4 seconds program print another high then after 6 seconds program print high and so on. That number of seconds is defined inside that top tuple and in every iteration we will change the number of seconds that our execution of program is paused. That's all for this video. Thanks for watching. Please like share and subscribe. Happy coding!