Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as Python by pash ( 17 years ago )
>>> def lsort(arr):
for i in range(len(arr)):
index = i
for j in range(i+1, len(arr)):
if arr[index]>arr[j]: index = j
arr[i], arr[index] = arr[index], arr[i]
Revise this Paste