I would like to clear things here.I am assuming beginner as a common
denominator to this post.
len() method is just a shortcut to __len__ magic method .So when you call
len() on your own container type ,it does not traverse whole sequence ,it
just calls __len__ method and returns value(assume
Sreenivas Reddy T thatiparthysreeni...@gmail.com writes:
I would like to clear things here.I am assuming beginner as a common
denominator to this post.
len() method is just a shortcut to __len__ magic method .So when you
call len() on your own container type ,it does not traverse whole
Very nice. I have found Euler' problems focusing on maths a lot. I
could have only solve a couple of them, this thread kindles my
interest to try more. :)
Senthil
On Thu, Jan 12, 2012 at 11:48:26PM +0530, Anand Balachandran Pillai wrote:
Hi Reddy,
I had solved some 50 or odd