# Lambda expression which takes a tuple (a, b[], c) and return tuples flattening list b e.g. (a, b[0], c), (a, b[1], c)

Hi there I am trying to construct a lambda expression which takes in tuples of the form: (a, b[], c). Where b is a list of elements which needs to be flattened. for example the output of the expression should be: (a, b[0], c), (a, b[1], c), (a, b[2], c) … I’ve tried researching and… Read More Lambda expression which takes a tuple (a, b[], c) and return tuples flattening list b e.g. (a, b[0], c), (a, b[1], c)