Commit 8aaa028a by BellCodeEditor

auto save

parent 2b461258
Showing with 15 additions and 2 deletions
for i in range(10):
for j in range(10):
print(i,j)
\ No newline at end of file
import time
r = time.time()
print("开始时间为",r)
list1 = [] list1 = []
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)
\ No newline at end of file l = time.time()
print("结束时间为",l)
c = r - l
print("需要的时间是",c)
\ 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