itertools query

Pradeep Patra smilesonisamal at gmail.com
Fri Sep 27 22:59:22 EDT 2019


I don't need other combination except 6,7

On Saturday, September 28, 2019, Piet van Oostrum <piet-l at vanoostrum.org>
wrote:

> 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]
> --
> https://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list