Kent Johnson wrote:

>   >>> [a for b,a in sorted(zip(B,A))]
also, [a for _,a in sorted(zip(B,A))]

didn't read refs, tested above python-2.2.3.

-- 
Sun Yi Ming

you can logout any time you like,
but you can never leave...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to