我是python的新手,我正在尝试这个简单的代码(在Python 2.7中):
a = input("")
print(a)
这是我在运行时遇到的错误:
Traceback (most recent call last):
File "/Users/Painkiller/PycharmProjects/Prova/Prova.py", line 3, in <module>
a = input("")
File "<string>", line 1, in <module>
NameError: name 'dfbs' is not defined
Process finished with exit code 1