Python 3.* print 出现SyntaxError: invalid syntax

很简单,不知道为啥,据说是3.0以后的print都改为了print();

例如

a=1

print a

上边出错

输入

a=1

print(a)

就正确了

原文地址:https://www.cnblogs.com/mrchige/p/6177850.html