I create a list, using

v=[1..10]

Now, I wanted to find the length of 'v'. I did help(list) and do not
see a method to find the length of a list object.

Then looking more around, I found I can type

len(v)

to find the length of 'v'.  But this is not OO?  Why is there no
method to find the length of a list (I mean as a method in the class
itself). I was expecting to type  object.len() or something like this.

I am using 3.4 version

Thanks.
--Nasser
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to