[Tutor] recursion depth
Keith Winston
keithwins at gmail.com
Wed Jan 8 23:33:18 CET 2014
On Wed, Jan 8, 2014 at 5:15 PM, spir <denis.spir at gmail.com> wrote:
> Funny and useful exercise in recursion: write a func that builds str and
> repr expressions of any object, whatever its attributes, inductively. Eg
> with
>
Hmm, can't say I get the joke. I haven't really played with repr, though I
think I understand it's use. Could you give an example, I'm not sure I
understand the goal?
--
Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140108/4fe6bbba/attachment.html>
More information about the Tutor
mailing list