On Wed, Jan 18, 2012 at 10:31 AM, Rodrick Brown <rodrick.br...@gmail.com> wrote:
> Alec can you explain this behavior zip(*zipped)?

Here's one way to think about it: If A is a matrix, zip(*A) returns
the transpose of A. That is, the columns become rows, and the rows
become columns.

If you swap rows and columns, and then swap them back, you're left
with the original.

-- Devin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to