在pycharm [duplicate]中需要“语句结束”

rvpgvaaj  于 4个月前  发布在  PyCharm
关注(0)|答案(1)|浏览(45)

此问题在此处已有答案

What does "SyntaxError: Missing parentheses in call to 'print'" mean in Python?(11个回答)
5年前关闭。


的数据
为什么我会在pycharm中得到这个错误(参见linting),说 *'End of statement expected'**?

eivgtgni

eivgtgni1#

尝试在Python 3中使用括号打印,即print(x)而不是print x

相关问题