This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JAG3R
Recipients JAG3R, terry.reedy
Date 2016-08-25.04:00:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472097639.26.0.83015178754.issue27857@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-08-25 04:00:39JAG3Rsetrecipients: + JAG3R, terry.reedy
2016-08-25 04:00:39JAG3Rsetmessageid: <1472097639.26.0.83015178754.issue27857@psf.upfronthosting.co.za>
2016-08-25 04:00:39JAG3Rlinkissue27857 messages
2016-08-25 04:00:38JAG3Rcreate