- dict.items(): Return a copy of the dictionary’s list of (key, value) pairs.返回列表
- dict.iteritems(): Return an iterator over the dictionary’s (key, value).返回迭代器
python3中有所改变
本文标题:dict.items() and dict.iteritems(
本文链接:https://www.haomeiwen.com/subject/obobjttx.html
网友评论