【python系列】SyntaxError:Missing parentheses in call to 'print'

打印python2和python3的区别

如上图所示,我的 PyCharm安装的是python3.6如果使用print 10会出现语法错误,这是python2.x和python3.x的区别所导致的。

原文地址:https://www.cnblogs.com/dream-to-pku/p/6937674.html