【Python】 Missing parentheses in call to 'print'

来源:互联网 发布:sai软件绘画电脑版 编辑:程序博客网 时间:2024/06/05 08:12

问题:

 print "xxxxxx"

出现:

SyntaxError: Missing parentheses in call to 'print'

原因:

python版本问题,python2系列可以支持 print “xxxx” ,python3需要使用print("xxx")

0 0
原创粉丝点击