On Sat, Jan 1, 2011 at 12:02 PM, pete <psmo...@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 - tu...@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor