結果 : loop to create nested dictionary python