結果 : how to create nested dictionary from list in python