Neat idea! I'm far from being a decent Python programmer but I managed (for fun) to do it in a one-liner; however, it was definitely longer (in term of number of characters) than the more readable multi-line solution.
André -- http://mail.python.org/mailman/listinfo/python-list