MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How can I concatenate elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119858] Re: How can I concatenate elements
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Sun, 26 Jun 2011 06:25:55 -0400 (EDT)
  • References: <201106250928.FAA20229@smc.vnet.net>

Leandro:

	SortBy[Tuples[{s1,s2}],Last]

	Best,

	Harvey

-----Original Message-----
From: Leandro Tenfen [mailto:leandrotenfen at hotmail.com]
Sent: Saturday, June 25, 2011 5:29 AM
To: mathgroup at smc.vnet.net
Subject: [mg119858] How can I concatenate elements

Hi,

I have two lists:

s1={1,2,3,4,5,6};
s2={c,k};

How can I concatenate elements of lists as follows:

s3={1c,2c,3c,4c,5c,6c,1k,2k,3k,4k,5k,6k}

Many Thanks!




  • Prev by Date: generating the netimage of a geodesic shape?
  • Next by Date: Re: How can I concatenate elements
  • Previous by thread: How can I concatenate elements
  • Next by thread: Re: How can I concatenate elements