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.