On 24 February 2011 14:52, pyhx0r <pyh...@gmail.com> wrote: > *Why do in my code, it loops to all values and not in Mark Pilgrim’s code? > * > > Because in Mark's code the loop is terminated by the return statement (contained in the utility function approximate_size().) In your code you've removed the entire function including the return statement, consequently the loop runs to completion.
Walter
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor