Commit cae79012 by BellCodeEditor

save project

parent 92449b0c
Showing with 11 additions and 3 deletions
list1 = []
import time
time_1 = time.time()
print('开始的时间为:',time_1)
list_1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
\ No newline at end of file
list_1.insert(0, 0)
time_2 = time.time()
print('结束的时间为:',time_2)
time_3 = time_2 - time_1
print('最终用时:',time_3)
\ 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