向Python中值为列表的字典添加键我想将变量键作为键添加到字典中,并向列表中添加值。这样做对吗 dict = {} key = 'hold' value = 'holdtwo' value_two = 'holdthree' dict ...2024-06-16 已阅读: n次