python 报错:str=input() File "", line 1, in NameError: name 'hello' is not defined

简单的程序:html str=input() print(str)结果报错: str=input() File "<string>", line 1, in <module> NameError: name 'hello' is not defined 原来时python版本的问题:python 这是python3的语法,可是本身电脑时python2.7python2.7 改成:code st
相关文章
相关标签/搜索