1.1 To loop all the keys from a dictionary – for k in dict: for k in dict: print(k) ... P.S items() works in both Python 2 and 3.
確定! 回上一頁