raw input("")

I've just started a book on programming wit Python after getting very frustrated with C++ and C#. But I can't get this very simple program to compile, it says there is something wrong with "input"

[code]# Game over
# Demonstrates the print command

print "Game Over"

raw input("

Press Enter to exit.")[/code]

Thanks for any and all reply's.


  • [size=2][color=Blue]the right code is :
    [code]raw_input("press enter to exit")[/code]
    not :
    [code]raw input("press enter to exit")[/code][/color][/size]
  • Hi this raw_input("") not raw input raw_input() is built-in function.
  • This post has been deleted.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!