"""
迭代工具 - 排列 / 组合 / 笛卡尔积
"""
import itertools
for permutation in itertools.permutations('ABCD'):
    print(permutation)
itertools.combinations('ABCDE', 3)
itertools.product('ABCD', '123')
1b673324f7118fa8cd04c7c9b8f99f7f61c214e7
<mask token>

<mask token>
for permutation in itertools.permutations('ABCD'):
    print(permutation)
itertools.combinations('ABCDE', 3)
itertools.product('ABCD', '123')

<mask token>
import itertools
for permutation in itertools.permutations('ABCD'):
    print(permutation)
itertools.combinations('ABCDE', 3)
itertools.product('ABCD', '123')

"""
迭代工具 - 排列 / 组合 / 笛卡尔积
"""
import itertools
for permutation in itertools.permutations('ABCD'):
    print(permutation)
itertools.combinations('ABCDE', 3)
itertools.product('ABCD', '123')