Commit 543e1835 by BellCodeEditor

save project

parent dab22de5
Showing with 9 additions and 7 deletions
import time import time
a = time.time() d = time.time()
print(a) print("开始时间为"+str(d))
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.insert(-1, 0)
b = time.time() e = time.time()
print(b) print("结束时间为"+str(e))
print(a-b) c = e-d
\ No newline at end of file print("一共用时:",c)
print(list1)
\ No newline at end of file
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