MathGroup Archive 2007

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

Search the Archive

Re: making mutliple list in one line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg78613] Re: making mutliple list in one line
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 5 Jul 2007 04:08:40 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <f6fqjb$8lg$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

{a,b,c}=Range /@ {x,x,x}

??

Regards
   Jens

JGBoone at gmail.com wrote:
> is there a way to make mutliple lists on one line of command?
> i am writing 3 lines like so
> a=Range[x]
> b=Range[x]
> c=Range[x]
>  and want to make it into one line
> 
> 
> thanks
> 
> 


  • Prev by Date: Concatenation of prime factors of numbers
  • Next by Date: Re: making mutliple list in one line
  • Previous by thread: Re: making mutliple list in one line
  • Next by thread: Re: making mutliple list in one line