Commit ce4b2ad0 by BellCodeEditor

save project

parent 2cfebf82
Showing with 14 additions and 1 deletions
......@@ -4,7 +4,20 @@ h=time.time()
list1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
list1.append(0)
n=time.time()
a=n-h
print(a)
d=[7,9,5,6,85,364,3]
n=len(d)
for i in range(0,n-1):
for j in range(0,n-1):
if d[j] > d[j+1]:
d[j],d[j+1]=d[j+1],d[j]
print(d)
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