zip 2 sequences into 1
Jeff Epler
jepler at unpythonic.net
Wed Apr 21 22:20:06 EDT 2004
Previous message (by thread):
zip 2 sequences into 1
Next message (by thread):
zip 2 sequences into 1
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
def flatten(s): for i in s: for j in i: yield j flatten(zip([1,2,3], "abc")) Jeff
Previous message (by thread):
zip 2 sequences into 1
Next message (by thread):
zip 2 sequences into 1
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list