Commit 3bbe9681 by BellCodeEditor

save project

parent 4d230100
Showing with 12 additions and 4 deletions
import time
begin_time=time.time()
list1 = [] list1 = []
for a in range(0, 1000): list2=[]
for b in range(0, 1000): for a in range(0, 100):
list1.insert(0, 0) for b in range(0, 100):
\ No newline at end of file list2.insert(0, 0)
for c in range(100):
list1.extend(list2)
end_time=time.time()
process_time=end_time-begin_time
print('总时间为'+str(process_time))
\ 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