結果 : looping through a nested dictionary python