• 2022-06-04
    以下哪遍历字典、依次输出所有键值对里的值的方式是不对的:
    A: for key in dict: print(dict[key])
    B: for key in dict.keys(): print(dict[key])
    C: for key,value in dict.items(): print(value)
    D: for value in dict: print(value)