📖 Python 参考手册📁Python 字典方法📄Python 字典 items()本页总览Python 字典 items() 方法 items() 方法返回一个视图对象,该对象显示字典的 (键, 值) 元组对列表。 示例 marks = {'Physics':67, 'Maths':87}print(marks.items())# 输出: dict_items([('Physics', 67), ('Maths', 87)])