itertools product to generate all possible strings of size 3
问题 Input: pos_1= 'AVNMHDRW' pos_2= 'KNTHDYBW' pos_3= 'KVNGSDRB' Trying to find all possible triplets using one item from pos_1, one from pos_2, and one from pos_3 I'm trying to figure out how to use itertools.product(*) but I'm a little confused Ultimately, I want to create a list (or generator object) of all the different possibilities by taking one from pos_1 then one from pos_2 and then one from pos_3 Example output: 'AKK','ANV','WWB' pos_1 stands for position one and so on for pos_2 and pos