如果元素值都不同,每个排列中的元素值不会重复。 大致相当于:. def permutations(iterable, r=None): # permutations('ABCD', 2) --> AB AC ...
確定! 回上一頁