Input1: A list of distinct numbers,L1
Input2: A single number, T

Output all combinations of L1 that can yield T using +,-,*,/.

L1=[4,5,2,3] and T=6. Output: [2*3],[2+4],[5+3-2],[3*4/2] ..... all other

        [[alternative HTML version deleted]]

______________________________________________ mailing list -- To UNSUBSCRIBE and more, see
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.

Reply via email to