import itertools
for i in range(1,4):
for e in itertools.combinations('abc',i):
print(e),
生成组合、排列数
最新推荐文章于 2019-08-31 20:12:19 发布
import itertools
for i in range(1,4):
for e in itertools.combinations('abc',i):
print(e),