Of course there is also the keys() method, in case you want to work with the dictionary keys outside of a for loop. print(list(names_ages.keys()) ...
確定! 回上一頁