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
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)
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