H
H
Helcurt2021-05-09 11:15:56
Python
Helcurt, 2021-05-09 11:15:56

How to implement such a function where it is necessary using the arguments (+ - / *) inserting between the numbers to get the given purely. How to display all results?

Example I entered into function 2 the value of functio(123, 6) at the output ["1+2+3", "1*2*3"]
How in theory can this be done except by rechecking all possible outcomes

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Wataru, 2021-05-09
@wataru

Just an enumeration of all possible options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question