当前位置:
首页 >
python 计时器 timeit 报错:ValueError: stmt is neither a string nor callable
发布时间:2025/3/20
35
豆豆
生活随笔
收集整理的这篇文章主要介绍了
python 计时器 timeit 报错:ValueError: stmt is neither a string nor callable
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
那是因为timeit()第一个参数要用‘’括起来,如:
总结
以上是生活随笔为你收集整理的python 计时器 timeit 报错:ValueError: stmt is neither a string nor callable的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: pycharm shadows name
- 下一篇: python timeit class