摘要: ``` python itertools模块现成的全排列: for i in itertools.permutations('abcd',4): print ''.join(i) 相关全排列算法: def perm(l): if(len(l)=end: print lis else: i = begin for n... 阅读全文
posted @ 2018-08-12 16:48 xushukui 阅读(7384) 评论(0) 推荐(0) 编辑