tupleList[0]) if y[0] == control]
self.list["list_key"].append(tupleList[0][Index[0]][1]) 我的控制变量是1,类型是int,我尝试到达元组中的'2.example‘, 获取错误 TypeError: 'int' object has no attribute '__getitem__' in Python 更改我的元组是=tupleList = [(0, '
myself_Maulida\bab3-documentClustering\clusters.py", line for i in range(len(clust[0].vec))] TypeError: 'float' object has no attribute '__getitem__'
这是我的密码,有人能帮忙吗?