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 This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor