結果 : if else inside dictionary python