Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

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

Search the Archive

How can I concatenate elements

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119848] How can I concatenate elements
  • From: "Leandro Tenfen" <leandrotenfen at hotmail.com>
  • Date: Sat, 25 Jun 2011 05:28:53 -0400 (EDT)

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: Re: Convenient way to add inline formatting to usage Messages
  • Next by Date: Re: RevolutionPlot3D Help
  • Previous by thread: Why doesn't mathematica evaluate this?
  • Next by thread: Re: How can I concatenate elements