time module in python
this module is used to display the current date and time of the system with different time formats.
It is the most important module of python, If you want to display current time or difference between time then we always prefer the time module in Python.
.
Example of time module in Python:-
import time
print(time.time())
print(time.localtime(time.time()))
print(time.asctime(time.localtime(time.time())))
Post a Comment
If you have any doubt in programming or join online classes then you can contact us by comment .