当前位置:K88软件开发文章中心编程语言PythonPython01 → 文章内容

时间函数举例3。

减小字体 增大字体 作者:佚名  来源:网上搜集  发布时间:2019-1-6 1:24:30

无。

程序源代码:


#!/usr/bin/python
# -*- coding:
UTF-8 -*-if __name__ == '__main__':
import time start = time.clock() for i in range(10000):
print i end = time.clock() print 'different is %6.3f' % (end - start)

时间函数举例3。