File size: 181 Bytes
6f00050
 
 
 
 
 
 
1
2
3
4
5
6
7
8

def sort(arr):
    for i in range(len(arr)):
        for j in range(1,len(arr)):
            if arr[j] < arr[j-1]:
                arr[j],arr[j-1] = arr[j-1],arr[j]
    return arr