On 06/21/2011 06:55 AM, Ulrich Eckhardt wrote:
Rouslan Korneychuk wrote:
if i != pindex:
     (less if x<= pivot else greater).append(x)

Just curious, is there a reason why you wrote this last line that way
instead of using a "normal" if/else clause?


Cheers!

Uli



No special reason. I just like concise code.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to