dict 这样用来的?最基础的都忘了 dict_a = {} dict_a['a'] = 'b' dict_a['C'] = 'D' print(dict_a) # {'a': 'b', 'C': 'D'}