當一個dict,我們想取出他的key,value資料項,可以使用下列方法進行迭代走訪dict.items() #dict.py dict_1 = dict({"a":1111,"b":2222,"c":3333}) for i in ...
確定! 回上一頁