解决 Python 报错SyntaxError: Missing parentheses in call to 'print'

版权声明:本文为博主原创文章,转载请注明作者和出处,如有错误,望不吝赐教。 https://blog.csdn.net/weixin_41888813/article/details/84862626

报错:SyntaxError: Missing parentheses in call to 'print'


解析:

python2.X版本与python3.X版本输出方式有点不同,在2.X中直接输出就没有问题,在python3.X中,输入内容时要带上括号

猜你喜欢

转载自blog.csdn.net/weixin_41888813/article/details/84862626
今日推荐