time it module in python code example
Example 1: time it python
import time
start = time.time()
print("hello")
end = time.time()
print(end - start)
Example 2: import time in python
import time
seconds = time.time()
print('Seconds since epoch = ', seconds)