結果 : check all combinations python