# HOW TO MEASURE EXECUTION TIME IN PYTHON
import time
start_time = time.perf_counter()
# YOUR CODE GOES HERE
end_time = time.perf_counter()
elapsed_time = end_time - start_time
print(f"Elapsed time: {elapsed_time:.1f} seconds")
Published 2024-06-13 · Watch on YouTube ↗ Availability and playback restrictions are controlled by the original channel.