Commit ac2104be by BellCodeEditor

save project

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