python中values、keys、items與*arg,**arg

python中values、keys、items:python >>> dict={1:"one","two":"er",3:"third"} >>> dict.values() ['one', 'third', 'er'] >>> dict.keys() [1, 3, 'two'] >>> dict.items() [(1, 'one'), (3, 'third'), ('two', 'er')
相關文章
相關標籤/搜索