Þ*
Characters: Þ, *
Þ
*
Cartesian product over a list of lists
lst
itertools.product(*a)
⟨⟨1|2⟩|⟨3⟩|⟨4|5⟩⟩ Þ*
⟨⟨1|3|4⟩|⟨1|3|5⟩|⟨2|3|4⟩|⟨2|3|5⟩⟩
⟨⟨1|2⟩|⟨3|4⟩|⟨⟩⟩ Þ*
⟨⟩