Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

list manipulation problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9062] list manipulation problem
  • From: Teemu Vesanen <Teemu.Vesanen at sci.fi>
  • Date: Thu, 9 Oct 1997 01:42:42 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I have a list like=20
{{a, b, c}, {d, e, f}, {g, h, i}}
I need to delete the third term of each sublist.
In other words how do I make the list look like
{{a, b}, {d, e}, {g, h}}
///////////////////////////////////=20
//Teemu Vesanen///////////////////
//E-Mail: Teemu.Vesanen at sci.fi///
//Tel +358(42)714186////////////
//P-Mail: Maurialantie 1///////
//////////42100 J=E4ms=E4/////////
//////////Finland////////////
////////////////////////////

"Perhaps the kind of humanity that can produce Hamlet, Don Giovanni, the
Choral Symphony, the Theory of Relativity, Gaudi, Schoenberg and Picasso
must, as a necessary corollary, also be able to scare hell out of itself
with nuclear weapons", Anthony Burgess.



  • Prev by Date: Re: wierd Log[0] *0 result
  • Next by Date: Re: Using Fold in Select
  • Previous by thread: Using RSolve
  • Next by thread: Re: list manipulation problem