a xnor b == -1 is the same thing as a == b , so: >>> from itertools import combinations >>> sequence = [5, 5, 8, 8, 8, 9, 10] >>> matches ...
確定! 回上一頁