def bubble(num):
for i in range(len(num)-1):
for j in range(len(num)-i-1):
if(num[j]>num[j+1]):
temp = num[j]
num[j] = num[j+1]
num[j+1] = temp
return num
def select(num):
length = len(num)
for i in range(len(num)-1):
small = i
for j in range(i+1, len(num)):
if(num[small] > num[j]):
temp = num[small]
num[small] = num[j]
num[j] = temp
print(i, " : ", num)
return num