check time taken by python code takes to run 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'