結果 : how to update values in dictionary python using for loop