您的位置:首页 > 编程语言 > Python开发

【Python】 Missing parentheses in call to 'print'

2017-06-17 17:57 477 查看
问题

 print "www.baidu.com"

出现

SyntaxError: Missing parentheses in call to 'print'

原因:Mac安装俩个Python版本,2和3,python2系列可以支持 print “xxxx” ,python系列需要使用print("xxx")
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: