To the best of my recollection, the len() function only applies to container objects; i. e. tuples, lists, strings, etc. an integer object is not a container, thus one receives an error when sending an int as an argument for len(). -- http://mail.python.org/mailman/listinfo/python-list
- Re: Re: len() should always return something Phillip M. Feldman
- Re: Re: len() should always return something Chris Rebert
- Re: len() should always return something Terry Reedy
- list vs. tuple [Re: len() should always return... Roy Smith
- Re: list vs. tuple [Re: len() should alway... Steven D'Aprano
- Re: list vs. tuple [Re: len() should a... Terry Reedy
- Re: list vs. tuple [Re: len() should alway... Duncan Booth
- Re: list vs. tuple [Re: len() should a... Dr. Phillip M. Feldman
- Re: len() should always return something bartc
- Re: len() should always return something Carl Banks
- Re: len() should always return something drednot57