Commit d477ae6f by BellCodeEditor

save project

parent c2200234
Showing with 8 additions and 11 deletions
import time
black=time.time()
print(black)
list1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
diy=time.time()
pri=diy-black
print(pri)
\ No newline at end of file
alist=[12,15,20,17,9,13]
n=len(alist)
for i in range(n-1):
for l in range(n-1):
if alist[l]>alist[l+1]:
alist[l],alist[l+1]=alist[l+1],alist[l]
print(alist)
\ 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