假设我有一些这样的代码:
import itertools
listone = list(itertools.permutations([1,2],2))
输出将是:
[(1,2),(2,1)]
有什么我可以添加到我的代码中以生成输出的:
[12,21]
吃鸡游戏
相关分类