直接复制老师的代码也报错,为什么呀
s=set([1,2,3])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object is not callable
这不应该错吧 你仔细检查检查半全角
Sign in to make a reply
清寒藏韵
直接复制老师的代码也报错,为什么呀
s=set([1,2,3])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'tuple' object is not callable