使用timeid查看程序执行时间
from timeit import Timerdef cal():??? i = 0??? for x in range(10000):??????? i += 1 t = Timer(cal)print t.timeit(100)