itertools query

Piet van Oostrum piet-l at vanoostrum.org
Fri Sep 27 17:06:23 EDT 2019


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]



More information about the Python-list mailing list