python错误之mission parentheses in call to 'print'

来源:互联网 发布:mac 蹭网 编辑:程序博客网 时间:2024/06/06 14:16

python



mission parentheses in call to 'print'

这是我学python的第一个错误


错误出现的原因:python3 语法 和 python2 已经变得有些差别了。python3中,去除了print语句,加入print()函数实现相同的功能。


解决方法:python3中需要这样输出文本:print(),()里面输入相应的输出内容

0 0
原创粉丝点击