結果 : if condition inside dictionary python