python-字典-如何取出字典中的全部值

test = {'A': 1, 'B': 2, 'C': 3} for i,j in test.items(): print(i, j) test = {'A':123 ,'B':345,'C':345 } for i in test : print(i,test[i]) 輸出:python A 1code B 2it C 3class
相關文章
相關標籤/搜索