您的位置:首页 > 其它

print "hello" SyntaxError: Missing parentheses in call to 'print'

2016-01-06 14:44 507 查看
python3取消了这种用法。使用 print('hello"),这种来输出。

python3 语法 和 python2 已经变得有些差别了。

python3中,去除了print语句,加入print()函数实现相同的功能。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: