Hey all so im a bit new to python and I need to create a select sort function without any for or whiles but this is all i have so far any help would be greatly appreciated.

```
def selection_sort(list):
l=list[:]
sorted=[]
while len(l):
lowest=l[0]
for x in l:
if x<lowest:
lowest=x
sorted.append(lowest)
l.remove(lowest)
return sorted
```