On 2021-01-07, Bischoop <bisch...@vimart.net> wrote: > On 2021-01-07, Chris Angelico <ros...@gmail.com> wrote: >> >> True. Unfortunately, it doesn't work, so what you'd have is something >> that can be easily parameterized to not work on other numbers of >> characters too. :) >> > > My bad is I'm kinda maniac and have to know how to, I know best solution > itertool but... I just must know, was thinking that studing the itertool > code would give me an answer but found it's in C. > Now I try list comprehension for it, so it's another day on it for me. > >
So after checking itertools doc I found what itertools.product is quivalent for on: https://docs.python.org/3/library/itertools.html#itertools.product Now I'll sleep. -- Thanks -- https://mail.python.org/mailman/listinfo/python-list