芜湖不芜
>>> x={'a': 1, 'b': {'m': 4, 'n': 5, 'o': 6}, 'c': 3}>>> u=x.copy()>>> v=dict(x)>>> import copy>>> w=copy.deepcopy(x)>>> x['a']=10>>> x{'a': 10, 'c': 3, 'b': {'m': 4, 'o': 6, 'n': 5}}>>> u{'a': 1, 'c': 3, 'b': {'m': 4, 'o': 6, 'n': 5}}>>> v{'a': 1, 'c': 3, 'b': {'m': 4, 'o': 6, 'n': 5}}>>> w{'a': 1, 'c': 3, 'b': {'m': 4, 'o': 6, 'n': 5}}>>> x['b']['m']=40>>> x{'a': 10, 'c': 3, 'b': {'m': 40, 'o': 6, 'n': 5}}>>> u{'a': 1, 'c': 3, 'b': {'m': 40, 'o': 6, 'n': 5}}>>> v{'a': 1, 'c': 3, 'b': {'m': 40, 'o': 6, 'n': 5}}>>> w{'a': 1, 'c': 3, 'b': {'m': 4, 'o': 6, 'n': 5}}