Python 下 SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" ")?
最近想学一下python这门语言;就照着文档学了起来:出现标题中的语法错误是因为:print在python3中作为内置函数使用;print在python2中作为一种语法结构使用;拓展:这就有像PHP中的echo和print 区别;错误:>>> print "你好,世界"; File "<stdin>", line 1 pri...
原创
2019-08-14 22:22:36 ·
33722 阅读 ·
0 评论