TypeError: 'list' object is not callable
如果list变量和list函数重名,会有什么后果呢?我们可以参考如下代码:list = ['a', 'b', 'c', 'd']tup_1 = (1, 2, 3, 4, 5)tupToList = list(tup_1)print(tupToList)代码运行后出错了,出错原因是TypeError: ‘list’ object is not callableTraceback (...