Re: [Tutor] Unknown reason for error.

2009-09-24 Thread christopher . henk
> Hello, python tutors, its Corey. Hi, Corey. > candyNumber = raw_input("How many candies do you want? :" You dropped a closing parenthesis in the line above. Having the syntax error occur one line up from where it is indicated is not uncommon. Another thing as long as we are here, in

Re: [Tutor] Unknown reason for error.

2009-09-24 Thread greg whittier
On Thu, Sep 24, 2009 at 2:15 PM, 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 !=

Re: [Tutor] Unknown reason for error.

2009-09-24 Thread Robert Berman
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

[Tutor] Unknown reason for error.

2009-09-24 Thread Corey Richardson
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":