# Pastebin KMPR4goL # approach 1 from time import monotonic t0 = monotonic() # approach 2 import time t0 = time.monotonic()