# -*- coding:utf-8 -*-
# @Author: CH
"""
@project: python study
@time:2019/1/9-20:19
@file_name:【程序93】time模块III.py
@IDE:PyCharm
@else: DO NOT STOP STUDYING!!!
"""
# 题目 时间函数举例3。
#
# 程序分析 如何浪费时间。
if __name__ == '__main__':
import time
start = time.clock()
for i in range(100):
print(i)
end = time.clock()
print('different is %6.3f' % (end - start))
网友评论