Python3中的timeit模块可以用来测试小段代码的运行时间其中主要通过两个函数来实现:timeit和repeat,代码如下:def timeit(stmt="pass", ...
確定! 回上一頁