Message273621
hello, everyone. I'm a newbie learner.^^
Recently, I learn the itertools and write this function...
heap(m,n)----->
X=[]
X.append([n ,0,...,0] (len=m))
X.append([n-1,1,...,0])
...
X.append([n-1,0,...,1])
X.append([n-2,2,...,0])
X.append([n-2,1,1..,0])
...
X.append([0 ,0,...,n])
return X |
|
Date |
User |
Action |
Args |
2016-08-25 04:00:39 | JAG3R | set | recipients:
+ JAG3R, terry.reedy |
2016-08-25 04:00:39 | JAG3R | set | messageid: <1472097639.26.0.83015178754.issue27857@psf.upfronthosting.co.za> |
2016-08-25 04:00:39 | JAG3R | link | issue27857 messages |
2016-08-25 04:00:38 | JAG3R | create | |
|