[Tutor] One more (sorry)

Gregor Lingl glingl@aon.at
Sat, 9 Feb 2002 22:10:47 +0100


----- Original Message ----- 
From: "Danny Yoo" <dyoo@hkn.eecs.berkeley.edu>
To: "kevin parks" <kp87@lycos.com>
Cc: <tutor@python.org>
Sent: Saturday, February 09, 2002 8:42 PM
Subject: Re: [Tutor] One more (sorry)


> 
> If we read in the file and somehow process it to get something like:
> 
> [ [foo 1.0 5.0 10.0]
>   [foo2 1.0  5.0  15.0]
>   [foo  2.5  3.0  9.00]
>   [foo  3.1  5.5  12.00]
>   [foo3 5.0  1.25 7.00] ]
> 

or more exactly:

[ ['foo', 1.0, 5.0, 10.0],
  ['foo2', 1.0,  5.0,  15.0],
  ['foo',  2.5,  3.0,  9.00],
  ['foo',  3.1,  5.5,  12.00],
  ['foo3', 5.0,  1.25, 7.00] ]

Gregor

P.S.: Does this come from the scheme-adventure (*....*)?