Commit 543e1835 by BellCodeEditor

save project

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