permutations('ABCD', 2) --> AB AC AD BA BC BD CA CB CD DA DB DC ... 这个是python官网关于itertools.permutations的原语实现,没多少行代码,看着 ...
確定! 回上一頁