Commit 16a3a038 by BellCodeEditor

save project

parent dbbb65a1
Showing with 5 additions and 4 deletions
...@@ -4,7 +4,8 @@ print("开始时间:",s) ...@@ -4,7 +4,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.append(0)
s_time=time.time() s_time=time.time()
print("结束时间:",s) print("结束时间:",s_time)
print(end.time-start_time) jieguo=s_time-s
\ No newline at end of file print(jieguo)
\ 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