#循环遍历字典 dict ={"name":"hjf","age":18,"gender":"nan"} for k,v in dict.items(): print(k,v)
本文标题:Python循环遍历字典
本文链接:https://www.haomeiwen.com/subject/fnevcftx.html
网友评论