a = (1,2,{'k1':'b2'}) a[2]['k1'] = 5 print(a)
(1, 2, {'k1': 5})
为什么元素'b2' = 5
应该是元素'k1' = 5
求解
a[2]['k1']=b2