func_code: def selection_sort(a):
      i = 1
      while i < len(a):
          smallest = i
          j = i + 1
          while j < len(a):
              if a[i] < a[smallest]:
                  smallest = i
              j = j + 1
          temp = a[i]
          a[i] = a[j]
          a[j] = temp
          i = i + 1