Re: list manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg116328] Re: list manipulation
- From: Ruth Lazkoz Sáez <ruth.lazkoz at ehu.es>
- Date: Fri, 11 Feb 2011 04:14:49 -0500 (EST)
Hi, Once you have defined list1={x1,x2,...,xN}; list2={y1,y2,...,yN}; one possibility is Partition[Riffle[list1, list2], 2]; Another is {list1[[#]], list2[[#]]} & /@ Range[Length[list1]] Probably you will get a dozen alternative answers. Best, Ruth