I am unsure how to return all possible sequences within a list of lists. It is important that the index in the main list corresponds to the position in the sequence.
Input:
list = [["Lys", "Arg"],['Gly'],["Phe", "Tyr"]]
Output:
["Lys", "Gly", "Phe"]
["Arg", "Gly", "Phe"]
["Lys", "Gly", "Tyr"]
["Arg", "Gly", "Tyr"]
Thanks in advance.