Re: [Tutor] Can't figure out the syntax error!

2011-10-03 Thread Michiel Overtoom
On Oct 3, 2011, at 18:50, Joel Goldstick wrote: > But you have some other problems. You keep getting a new random number in > your while loop. Maybe that gives an extra challenge? Guess the random number, which will change after each guess! ;-) Greetings, -- "A creative man is motivated

Re: [Tutor] Can't figure out the syntax error!

2011-10-03 Thread Joel Goldstick
On Mon, Oct 3, 2011 at 12:53 PM, bob gailer wrote: > On 9/30/2011 11:55 PM, Anthony Okutsu wrote: > > I'm writing a program in which I input a number and the computer has to > guess it. Every time I try to run the program it highlights the 'while' at > the beginning of my loop and says 'invalid

Re: [Tutor] Can't figure out the syntax error!

2011-10-03 Thread bob gailer
On 9/30/2011 11:55 PM, Anthony Okutsu wrote: I'm writing a program in which I input a number and the computer has to guess it. Every time I try to run the program it highlights the 'while' at the beginning of my loop and says 'invalid syntax' but I have no idea why. I'll paste a copy of my prog

Re: [Tutor] Can't figure out the syntax error!

2011-10-03 Thread Joel Goldstick
On Fri, Sep 30, 2011 at 11:55 PM, Anthony Okutsu wrote: > I'm writing a program in which I input a number and the computer has to > guess it. Every time I try to run the program it highlights the 'while' at > the beginning of my loop and says 'invalid syntax' but I have no idea why. > I'll paste

[Tutor] Can't figure out the syntax error!

2011-10-03 Thread Anthony Okutsu
I'm writing a program in which I input a number and the computer has to guess it. Every time I try to run the program it highlights the 'while' at the beginning of my loop and says 'invalid syntax' but I have no idea why. I'll paste a copy of my program below. Why is there a syntax error in my whil