為什么我的第二出錯(cuò)了
>>> b=' '
>>> print('hello,', b or 'world')
Traceback (most recent call last):
? File "<stdin>", line 1, in <module>
TypeError: 'tuple' object is not callable
>>> b=' '
>>> print('hello,', b or 'world')
Traceback (most recent call last):
? File "<stdin>", line 1, in <module>
TypeError: 'tuple' object is not callable
2021-04-04
舉報(bào)
2021-04-15
你的print 跟print不一樣嗎???
2021-04-04
print 打錯(cuò)了,因該是print