Re: [sage-support] Re: Data list

2010-06-11 Thread Robert Bradshaw
On Jun 10, 2010, at 12:22 PM, Christian Stump wrote: m=[0.6158, 0.5893, 0.5682, 0.51510, 0.4980, 0.4750, 0.5791, 0.5570,0.5461, 0.4970, 0.4920, 0.4358, 0.422, 0.420] m.count len(m) does the job, you should probably look into the tutorial at http://www.sagemath.org/doc/tutorial/ for this kind

[sage-support] Re: Data list

2010-06-11 Thread Marco Boretto
Thank you for your answer! Marco On 11 Giu, 08:01, Robert Bradshaw rober...@math.washington.edu wrote: On Jun 10, 2010, at 12:22 PM, Christian Stump wrote: m=[0.6158, 0.5893, 0.5682, 0.51510, 0.4980, 0.4750, 0.5791, 0.5570,0.5461, 0.4970, 0.4920, 0.4358, 0.422, 0.420] m.count len(m)

[sage-support] Re: Data list

2010-06-10 Thread Christian Stump
m=[0.6158, 0.5893, 0.5682, 0.51510, 0.4980, 0.4750, 0.5791, 0.5570,0.5461, 0.4970, 0.4920, 0.4358, 0.422, 0.420] m.count len(m) does the job, you should probably look into the tutorial at http://www.sagemath.org/doc/tutorial/ for this kind of questions... m.count is a function returning the