Commit 5f3a8aec by BellCodeEditor

save project

parent 4c059f15
Showing with 5 additions and 3 deletions
...@@ -5,6 +5,8 @@ print("开始时间为:",s) ...@@ -5,6 +5,8 @@ print("开始时间为:",s)
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)
e=time.time() e=time.time()
print("结束时间为:",e) print("结束时间为:",e)
\ No newline at end of file r=e-s
print("总共耗时:",r)
\ 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