Re: List Manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg63483] Re: [mg63478] List Manipulation
- From: <bsyehuda at gmail.com>
- Date: Tue, 3 Jan 2006 01:24:35 -0500 (EST)
- References: <200601021049.FAA01354@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi MapThread is your choise MapThread[Join, {list1, list2}] returns {{a, b, c, d, 1}, {e, f, g, h, 2}} as you need yehuda On 1/2/06, LectorZ <lectorz at mail.ru> wrote: > > Hi guys, > > 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}} > > Thanx in advance > > LZ > >
- References:
- List Manipulation
- From: "LectorZ" <lectorz@mail.ru>
- List Manipulation