• 2022-05-28
    下面程序的输出结果是‪‪‪‪‪‪‫‪( )。L=[('b', 3), ('c', 1), ('d', 2), ('a', 5)]L.sort()print(L)‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪
    A: {('a', 5), ('b', 3), ('c', 1), ('d', 2)}
    B: [('a', 5), ('b', 3), ('c', 1), ('d', 2)]
    C: [('c', 1), ('d', 2), ('b', 3), ('a', 5)]
    D: [('b', 3), ('c', 1), ('d', 2), ('a', 5)]