[Tutor] What's the invalid syntax?

Nathan Pinno falcon3166 at hotmail.com
Sat Jul 9 22:00:24 CEST 2005


What's the invalid syntax?

Here's the code (Part of my Guess the Numbers game):

        if a0 == x0 and a1 == x1 and a2 == x2 and a3 == x3:
            print "Congratulations! Way to go?"
            answer = raw input("Play again: (Y)es or (N)o Type the letter of your choice. ")

Thanks,
Nathan Pinno
Crew, McDonalds Restaurant, Camrose, AB Canada
http://www.npinnowebsite.ca/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20050709/9048bc31/attachment.htm


More information about the Tutor mailing list