<s> def selection_sort ( a ) : <EOL> """<STR_LIT>""" <EOL> for i in range ( len ( a ) ) : <EOL> for j in range ( i , len ( a ) ) : <EOL> if ( a [ j ] < a [ i ] ) : <EOL> a [ i ] , a [ j ] = a [ j ] , a [ i ] <EOL> return a </s>
