python 的全排列

来源:互联网 发布:wall control软件下载 编辑:程序博客网 时间:2024/05/16 09:33
from itertools import permutationsfor c in permutations('abcd', 4):      c = ''.join(c)    print c

0 0
原创粉丝点击