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, I'm sorry you are not feeling well. I guessed correct, right?"
else print "Great!"
candyNumber = raw_input("How many candies do you want? :")
fatness = raw_input("How many candies do you want to eat? :")
if fatness > candyNumber:
   print "HA! Nice try, but no. You don't have that many candies"
else print "HA! You ate the candy! Suckerrrrr. You are now", fatness, "lbs overweight"



my IDLE highlights the print, in each of them. Why? (oh, and thanks for helping, all)

<<attachment: kb1pkl.vcf>>

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to