Commit 1bda2390 by BellCodeEditor

save project

parent da194dda
Showing with 9 additions and 6 deletions
import time
a = time.time()
print("开始时间:",a)
e = time.time()
print("开始时间:",e)
list1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
b = time.time()
print("结束时间:",b)
print("总共用时:",b-a)
list1.append(0)
d = time.time()
c = d-e
print("结束时间:",d)
print("总共用时:",c)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment