結果 : python compare three values