Cory,

It would be helpful for us to see the code and the exact error
message(s). 

Would you copy your code and the errors directly to either your post or
your code to  one of the posting pages such as www.pastebin.org so we
can see your code exactly how you have written it.

Robert


On Thu, 2009-09-24 at 11:15 -0700, Corey Richardson wrote:
> Hello, python tutors, its Corey.
> Anyway, I'm getting a syntax error for an unknown reason. Here is my code...
>     name = raw_input("What is your name?")
> print "Hello, ", name
> wellness = raw_input("How are you?")
> if wellness != "Good":
>     if wellness != "Well":
>         if 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? :"
> fat = raw_input("How many candies do you want to eat? :")
> if fat > 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", fat, "lbs 
> overweight"
> The syntax arror is at the first fat. Thanks ahead of time, 
> ~Corey
> 
> 
>       
> _______________________________________________
> Tutor maillist  -  [email protected]
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor

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

Reply via email to