获取价值时出现Python错误

Gre*_*een 1 python runtime-error

我使用的是Python 2.7.3版.当我尝试运行以下代码时,出现错误,

>>> value = input("get value: ")

    get value: hello

    Traceback (most recent call last):

    File "<stdin>", line 1, in <module>

    File "<string>", line 1, in <module>

    NameError: name 'hello' is not defined
Run Code Online (Sandbox Code Playgroud)

vks*_*vks 5

传递字符串时使用"或放入hello内部"."hello"这样的事情.

要么

简单地用 raw_input()