• 2022-06-08
    执行以下语句的结果:dict1={"x":1,"y":2,"z":3}dict2={"x":4,"a":5}dict1.update(dict2)
    A: {"x":1,"y":2,"z":3,"x":4,"a":5}
    B: {"x":4,"a":5,"x":1,"y":2,"z":3}
    C: 有重复项,结果有误!
    D: {"x":4,"y":2,"z":3,"a":5}