<filename>Unit6_BigONotation/bubble_sort.py
def bubble_sort(L):
  swap = False
  while not swap:
      swap = True
      for j in range(1, len(L)):
          if L[j-1] > L[j]:
              swap = False
              temp = L[j]
              L[j] = L[j-1]
              L[j-1] = temp

<filename>Unit6_BigONotation/bubble_sort.py
def bubble_sort(L):
  swap = False
  while not swap:
      swap = True
      for j in range(1, len(L)):
          if L[j-1] > L[j]:
              swap = False
              temp = L[j]
              L[j] = L[j-1]
              L[j-1] = temp
