| 1 | initial version |
This is correct (in Python 3). If you really want the output to be a list, run
list(zip(x, y))
| 2 | No.2 Revision |
This is correct (in Python 3). If you really want the output to be a list, run
list(zip(x, y))
but if you want to use it in a loop, it's better to keep the zip object.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.