Re: List Manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg63509] Re: List Manipulation
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Tue, 3 Jan 2006 01:26:01 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 1/2/06 at 5:49 AM, lectorz at mail.ru (LectorZ) wrote: >One simple question to list manipulation. >I have 2 lists >list1 = {{a,b,c,d},{e,f,g,h}} >list2 = {{1},{2}} >Which function(s) should I use to get >list3 = {{a,b,c,d,1},{e,f,g,h,2}} In[10]:=MapThread[Join[#1, #2]&, {list1, list2}] Out[10]={{a, b, c, d, 1}, {e, f, g, h, 2}} -- To reply via email subtract one hundred and four