結果 : compute combinations in python