On 11/05/2012 06:07 PM, Prasad, Ramit wrote: > Frank Pontius wrote: >> Sent: Saturday, October 27, 2012 12:27 PM >> To: d...@davea.name; bgai...@gmail.com >> Cc: tutor@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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor