"Noah" <[EMAIL PROTECTED]> writes:
> I know I could do this long-form:
>     q = []
>     y = [('a', 1.0), ('b', 2.0), ('c', 3.0)]
> ...

y = [tuple(reversed(t)) for t in y]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to