[Tutor] syntax error that i cant spot!
David Hutto
smokefloat at gmail.com
Sat Jan 1 18:12:58 CET 2011
On Sat, Jan 1, 2011 at 12:02 PM, pete <psmouty at live.com> wrote:
> Hi,
> Please help just starting out and have come up with the following code to
> create a simple guessing game.
>
> on line 30 print good job etc i get a syntax error! sure it's simple but
> i've looked for ages and cant spot it!
>
> Regards
> Pete
print 'Good job, ' + myName + "! You guessed the number in " +
guessesTaken + ' guesses!'
you forgot to place a plus in between myName and "! You guessed the number in ".
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
More information about the Tutor
mailing list