python tip

Measuring Execution Time using Python

time module is an inbuilt module so you can access it without installing any extra packages or modules

#calculate Execution time

import time
start = time.time()
end = time.time()
total = end - start
print("Total Execuation time is", total)

#Output
Total Execuation time is 2.384185791015625e-07