[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

itertools query

Pradeep Patra <smilesonisamal at gmail.com> writes:

> Hi all,
> I have written a small program to generate all the combinations of a and b
> of the array. I want (6,7) tuple also included. Can anybody suggest what
> change I should make to get 6,7 included in my output? Any suggestions

Why (6,7)? What about (5,7), (5,8) and (6,8)?
Piet van Oostrum <piet-l at vanoostrum.org>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]