[Tutor] self keyword in recursive function
Marc Tompkins
marc.tompkins at gmail.com
Sat May 31 08:23:35 CEST 2014
On Fri, May 30, 2014 at 11:06 PM, Ritwik Raghav <ritwikraghav14 at gmail.com>
wrote:
> That's all the code I'm writing.
>
That can't be true - the 11 lines of code you posted doesn't include
anything that would give you "Correct Return Value: No", let alone any
reference to PersistentNumber. From the error message, it would appear
that you've written (at least) 182 lines, and that the problem is on line
182 - but that's not what you're showing us.
> The complete problem statement is:
> http://pastebin.com/E970qYXk
>
Yes, but that's not _your_ code, so it tells us nothing about your error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20140530/63b19b1a/attachment-0001.html>
More information about the Tutor
mailing list