Commit cbbd13bc by BellCodeEditor

save project

parent 7355ab73
Showing with 15 additions and 8 deletions
list=['1','2','3','4','5'] import time
list.pop(1)
list.pop(2) start_time = time.time()
list.insert(1,'2') print("开:",start_time)
list.append('7')
list.append('9') list1 = []
print(list) for a in range(0,1000):
\ No newline at end of file for b in range(0,1000):
list1.insert(0,0)
end_time = time.time()
print("结:",end_time)
result = time.time()
print("耗:",result)
\ 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