2020-10-19
阅读量:
784
Python 字典(Dictionary) 的values()方法作用是什么?
Python 字典(Dictionary) values() 函数以列表返回字典中的所有值。
举例:
dict = {'Name': 'Zara', 'Age': 7}print ( dict.values())
dict_values(['Zara', 7])






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论