Counter detik Python

import time
start = time.time()
# your code
stop = time.time()
print("The time of the run:", stop - start)
Friendly Flatworm