def bubbleSort(values): for i in range(len(values)): for j in range(len(values)-1): if values[j] > values[j+1]: values[j] ,values[j+1] = values[j+1], values[j] return values
def bubbleSort(values): for i in range(len(values)): for j in range(len(values)-1): if values[j] > values[j+1]: values[j] ,values[j+1] = values[j+1], values[j] return values