2008/7/11, Alex Bryan <[EMAIL PROTECTED]>:
>
> I am just wondering how you get an integer value for how many items there
> are in a list, preferably w/o a for loop.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
Use len

>>> len([1,2,3])
3
>>>

vbr
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to