結果 : if function with multiple conditions python