提问:1234567890的所有6字密码写出来
网友回答:
你这个是排列,共有
P(10,6) = 151200个
不可能在这里结你的
可以帮你写个程序(你要用编程环境)
用python很简单的,程序为
import itertools
for i in list(itertools.permutations([1,2,3,4,5,6,7,8,9,0],6)):
print(i)
结果如:
提问:1234567890的所有6字密码写出来
网友回答:
你这个是排列,共有
P(10,6) = 151200个
不可能在这里结你的
可以帮你写个程序(你要用编程环境)
用python很简单的,程序为
import itertools
for i in list(itertools.permutations([1,2,3,4,5,6,7,8,9,0],6)):
print(i)
结果如: