func_code: def selectionsort(l):
      i = 0
      while i < len(l):
          p = i
          j = i + 1
          while j < len(l):
              if l[j] < l[p]:
                  p = j
              j = j + 1
          tmp = l[p]
          l[p] = l[i]
          l[i] = tmp
          i = i + 1