from time import perf_counter as pc debut=pc() for i in range(100): print(i) fin=pc() print(fin-debut)