• 2022-07-28
    已知x = {1:1, 2:2},那么执行语句x.update({2:3, 3:3})之后,表达式sorted(x.items())的值为____________________。
    A: [(1, 1), (2, 3), (3, 3)]
    B: [(1, 1), (2, 2), (3, 3)]
    C: [(1, 1), (2,2),(2, 3), (3, 3)]
    D: (1, 1), (2, 3), (3, 3)