[Tutor] Help with class example

Dave Angel d at davea.name
Tue Nov 6 05:24:00 CET 2012


On 11/05/2012 06:07 PM, Prasad, Ramit wrote:
> Frank Pontius wrote:
>> Sent: Saturday, October 27, 2012 12:27 PM
>> To: d at davea.name; bgailer at gmail.com
>> Cc: tutor at python.org
>> Subject: Re: [Tutor] Help with class example
>>
>> Here ya go!
>> Can't do what you want as this is a programmatic error from interrupter.  Only a screen shot will tell you the
>> full situation.  I have class example which is to be used for our homework, and I copied it into IDLE and it
>> won't work, with error below.  I've tried several ways to work around this
>>
>> Thanks
>> Frank
>>
>
> You would be better off trying to run this from the command
> line.  The problem is the "if" and "else" lines are indented one
> level too far. If you match them with the previous line
> it should work just fine.
>
> ~Ramit
And the other problem is that the source in the OP message does not
match the source in the jpg file.  A line was omitted during the retyping.


-- 

DaveA



More information about the Tutor mailing list