Commit 4f7ba70d by BellCodeEditor

save project

parent 9f2605a3
Showing with 12 additions and 4 deletions
import time
time1 = time.time()
list1 = [] list1 = []
for a in range(0, 1000): for a in range(0, 100):
for b in range(0, 1000): for b in range(0, 100):
list1.insert(0, 0) list1.insert(0, 0)
\ No newline at end of file
time2 = time.time()
t = time2 - time1
print("总共用了"+str(t)+'秒')
\ 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