+ 1
test_list = [2,3,4,7,8,6] possibilitys of 10 in the List
Possibilities of 10 in the list example (2,8) (7,3) (6,4) any one can solve this
8 Answers
+ 3
You should your attempt firstly because it's better for you
Show the following solution and tell me if it's what u want
Manoj Bhaagam
https://code.sololearn.com/c1XE5Q03aB3S/?ref=app
+ 1
What do you need to can help you ?
Please explain more about your problem
+ 1
Muhammad yes need to solve this
+ 1
Muhammad thank you
+ 1
You're welcome
0
You should use itertools for this
from itertools import product.
See the Python itertools for more details and check out my code
https://code.sololearn.com/c5aw620v38h5/?ref=app
This uses this method.
- 1
Yes