RE: Ot
- To: mathgroup at smc.vnet.net
- Subject: [mg40942] RE: [mg40909] Ot
- From: "Yahoo" <stefanofricano at yahoo.it>
- Date: Fri, 25 Apr 2003 08:02:40 -0400 (EDT)
- Reply-to: <fricano at dsfa.fisica.unipa.it>
- Sender: owner-wri-mathgroup at wolfram.com
The simpler way is using "Table": (second) In[1]:= list1 = {ala, ula, ola} list2 = {osa, bak, mak} (second) Out[1]= {ala, ula, ola} (second) Out[2]= {osa, bak, mak} (second) In[3]:= list3 = Table[{list1[[i]], list2[[i]]}, {i, 1, Dimensions[list1][[1]]}] (second) Out[3]= {{ala, osa}, {ula, bak}, {ola, mak}} *********************************************** Stefano Fricano Dip. di Scienze Fisiche ed Astronomiche Università degli Studi Via Archirafi, 36 Palermo 90123 Tel. +39 091 6234207 Fax +39 091 6168461 ********************************************* ->-----Original Message----- ->From: Gartek [mailto:bgarda at nospam.agh.edu.pl] To: mathgroup at smc.vnet.net ->Sent: Thursday, April 24, 2003 11:24 AM ->To: mathgroup at smc.vnet.net ->Subject: [mg40942] [mg40909] Ot -> -> ->I have been looking for two hours in help and I did'n find any solution? ->I understend that it is a simple and easy but.... ->I have to list; list1 and list2 ->list1={ala, ula, ola} ->list2={osa, bak, mak} ->and I want a list3={{ala, osa},{ula, bak}, {ola, mak}}; ->How to do it? ->Thanks in advance! ->Gartek -> ->