data=[10,4,33,21,54,3,9,11]
//for index,i in enumerate(data[0:-1):
for j in range(1,len(data)):
for i in range(len(data)-j):
if data[i]>data[i+1]:
temp=data[i+1]
data[i+1]=data[i]
data[i]=temp
print(data)
data=[10,4,33,21,54,3,9,11]
//for index,i in enumerate(data[0:-1):
for j in range(1,len(data)):
for i in range(len(data)-j):
if data[i]>data[i+1]:
temp=data[i+1]
data[i+1]=data[i]
data[i]=temp
print(data)