1. Abstract(摘要) This PEP proposes(建议) to change the .keys(), .values() and .items() methods of the built-in dict type to return a set-like or unordered container object whose contents are derived from the underlying(潜在的) dictionary rather than a list…
a={'a':11,'b':'bb','c':321}for x in a.items(): print(x) # 每条都输出来print("------------")for x in a.keys(): print(x) # 输出前面的print("------------") for x in a.values(): print(x) # 输出后面的print("------------")…