How to interpret the result of using timeit?

后端 未结 0 949
隐瞒了意图╮
隐瞒了意图╮ 2021-02-04 08:40

when I run the following code in Jupyter Notebook

%%timeit -n5
ls = [i for i in range(10)]
n = ls[::-1]

It gives an output 789 ns ± 88.7 ns

相关标签:
回答
  • 消灭零回复
提交回复
热议问题