Python 3.* print 出现SyntaxError: invalid syntax

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

例如

a=1

print a

上边出错

输入

a=1

print(a)

就正确了

posted on 2016-12-14 08:29  吃咯  阅读(4335)  评论(0编辑  收藏  举报

导航