結果 : how to loop through a nested dictionary in python