Does zip always return a list
|
| View previous topic :: View next topic |
| Author |
Message |
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| Does zip always return a list? |
| |
|
|
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
It returns a list of tuples
So, the answer to your question is yes |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
Is there someway to get a zip as an iterator?
If that is even sensible : / |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
| BigDaddy, itertools.izip |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| Thz ;) |
| |
|
|
|
|