Re: [Tutor] invalid syntax (reply)

2009-09-24 Thread Alan Gauld
"Corey Richardson" wrote Closing the parenthesis helped that one, but my else statement is not working...heres the code chunk... if wellness != "Good": elif wellness != "Well": elif wellness != "Fine": print "Oh, I'm sorry you are not feeling well. I guessed correct, rig

Re: [Tutor] invalid syntax (reply)

2009-09-24 Thread christopher . henk
tutor-bounces+christopher.henk=allisontransmission@python.org wrote on 09/24/2009 05:43:24 PM: > Robert, that is my code. The error? "Theres an error in your program : > invalid syntax" > Closing the parenthesis helped that one, but my else statement is not > working...heres the code chunk.

Re: [Tutor] invalid syntax (reply)

2009-09-24 Thread Brett Wilkins
if wellness != "Good": elif wellness != "Well": elif wellness != "Fine": print "Oh, I'm sorry you are not feeling well. I guessed correct, right?" I think the problem is the elif's and the indents... elif is 'else if', and should be at the same indentation level as the prev

[Tutor] invalid syntax (reply)

2009-09-24 Thread Corey Richardson
Robert, that is my code. The error? "Theres an error in your program : invalid syntax" Closing the parenthesis helped that one, but my else statement is not working...heres the code chunk... if wellness != "Good": elif wellness != "Well": elif wellness != "Fine": print "Oh,