def s(c):return[]if c==[]else s([_ for _ in c[1:]if _<c[0]])+[c[0]]
+s([_ for _ in c[1:]if _>=c[0]])

Anyone else got some wonders...?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to