Commit 1bda2390 by BellCodeEditor

save project

parent da194dda
Showing with 9 additions and 6 deletions
import time import time
a = time.time()
print("开始时间:",a) e = time.time()
print("开始时间:",e)
list1 = [] list1 = []
for a in range(0, 1000): for a in range(0, 1000):
for b in range(0, 1000): for b in range(0, 1000):
list1.insert(0, 0) list1.append(0)
b = time.time() d = time.time()
print("结束时间:",b) c = d-e
print("总共用时:",b-a) 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