In this video, we see how we can make a clock, use it better.
So let's get started.
At first we have to create a new python file.
I mean.
And then we have to import Paquita, so I would write from.
To.
Import oh, and then we need from Ticketek, not t.K.
Import or.
That's Ed.
Now, let's import time, so read from time import to if time.
OK, let's clear up 5:00.
So, right, Pendo equal.
And let's set time for the right window, Dr..
Naomi Clark.
Now let's create a lever to stall our clock, so I'll write label.
Equal labotte.
And here, the first parameter will be window.
And the second is on.
And for the fund, I will use a custom fund, which name is DSG to.
And the sites, I will take 80.
And then let's set back by 4:00.
So I will write Backroad Equal Black.
And for the fulcrum, I will take.
That's it.
Now let's back our level, so I will write Labor back.
And let's get it to the center.
That's it.
Now, let's define a function to get our time so the have time and here I will take.
And here I would take the street where I was told that time, so they every time.
And the format will be.
Our.
In it.
Second.
And the aim, opium.
OK, now let's head this time to the labor.
So labor.
Dotcom picked.
And for the text, I said the screen.
And then let's try to call our time function on every second.
So in labor today after.
And then the first parameter thousand, which is once again, and on the every second we it the function
itself.
And we have to cut the brackets.
All right, now, now, outside of the time function, let's call our time function.
And we have to, right?
Mainella.
That is that city.
Now, let's now let's try another program.
As you can see, it is showing the clock so that we can make use of that.