Re: Simple list operation

*To*: mathgroup at smc.vnet.net*Subject*: [mg45625] Re: Simple list operation*From*: bobhanlon at aol.com (Bob Hanlon)*Date*: Fri, 16 Jan 2004 19:57:02 -0500 (EST)*References*: <bu8go7$aj8$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

p = Transpose[{x, y}] Bob Hanlon In article <bu8go7$aj8$1 at smc.vnet.net>, "Dr. Wolfgang Hintze" <weh at snafu.de> wrote: << Given two lists In[10]:= x = {a, b, c}; In[11]:= y = {A, B, C}; how can I get the list of pairs p={{a,A},{b,B},{c,C}}? I have used a brute force method like In[9]:= p = Table[ {x[[i]], y[[i]]}, {i, 1, 3}] Out[9]= {{a, A}, {b, B}, {c, C}}