On 01/03/2015 06:58 AM, Dave Angel wrote:
self.transposed_grid = zip(*self.grid)
zip() sounds confusing. But I am going to try this and see what it gives me. But Somehow I think it will require me to understand yield, which I still do not totally get how to use. Also from the documentation, will this work on my 2d List given that the lengths of the lists may not be the same? IE: 4 columns and 8 Rows.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to