check time and run function in py code example
Example: record the amount of time ittales for code to run python
from time import time
start = time()
#code here
print(f'Time taken to run: {time() - start} seconds'
from time import time
start = time()
#code here
print(f'Time taken to run: {time() - start} seconds'