Commit f366d0f3 by BellCodeEditor

auto save

parent 92449b0c
Showing with 10 additions and 2 deletions
import time
time1 = time.time() #开始时间
list1 = [] list1 = []
for a in range(0, 1000): for a in range(0, 10):
for b in range(0, 1000): for b in range(0, 10):
list1.insert(0, 0) list1.insert(0, 0)
time2 = time.time() #结束时间
t = time2 - time1 #用了多少时间
print("总共用了" + str(t) + "秒")
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