On Sat, 2005-07-09 at 14:00 -0600, Nathan Pinno wrote:
> 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. ")
^^^^^^^^^
raw_input
It's "raw_input()" not "raw input()"
>
> Thanks,
> Nathan Pinno
> Crew, McDonalds Restaurant, Camrose, AB Canada
> http://www.npinnowebsite.ca/
You're welcome.
Ziyad.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor