Commit ac2104be by BellCodeEditor

save project

parent 7ac618ed
Showing with 8 additions and 10 deletions
import time
c=time.time()
list1 = []
for a in range(0, 1000):
for b in range(0, 1000):
list1.insert(0, 0)
d=time.time()
print(d-e)
\ No newline at end of file
A=[8,7,6,5,4,3,2,1]
for i in range(0,7):
for j in range(0,7):
if A[j]>A[j+1]:
A[j],A[j+1]=A[j+1],A[j]
print(A)
\ 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