Python 字典(Dictionary) items() 函数以列表返回可遍历的(键, 值) 元组数组。

items()返回的结果是dict_items类型,可以将其转换为list类型再进行下一步计算。