为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我的第二出错了

>>> b=' '

>>> print('hello,', b or 'world')

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

TypeError: 'tuple' object is not callable


正在回答

2 回答

你的print 跟print不一样吗???

0 回复 有任何疑惑可以回复我~

print 打错了,因该是print

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

为什么我的第二出错了

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信