fork(1) download
  1. from __future__ import print_function
  2. import timeit
  3. print(timeit.timeit('x[5:8]', setup='x = list(range(10))'))
Success #stdin #stdout 0.25s 9120KB
stdin
Standard input is empty
stdout
0.243554830551