Commit f4e34588 by BellCodeEditor

save project

parent 92449b0c
Showing with 8 additions and 0 deletions
import time
list1 = [] list1 = []
t1=time.time()
print('begin at the time of',t1)
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(0, 0)
t2=time.time()
print('end at the time of ',t2)
t3=t2-t1
print('spend',t3)
\ 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