Commit cbbd13bc by BellCodeEditor

save project

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