how to record the time it takes to run a program python code example
Example: how to record execution time in python
import time
start = time.time()
print("hello")
end = time.time()
print(end - start)
import time
start = time.time()
print("hello")
end = time.time()
print(end - start)