# 定义字典d = {"name": "pyhui", "age": 22}# 遍历字典只拿值vals = d.values()print(vals)for v in vals: print(v)for temp in d.values(): print(temp)
# 定义字典d = {"name": "pyhui", "age": 22}# 遍历字典只拿值vals = d.values()print(vals)for v in vals: print(v)for temp in d.values(): print(temp)