+ 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

9th Feb 2022, 10:46 AM
Manoj Bhaagam
7 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
9th Feb 2022, 12:22 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
What do you need to can help you ? Please explain more about your problem
9th Feb 2022, 10:55 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 1
Muhammad yes need to solve this
9th Feb 2022, 10:57 AM
Manoj Bhaagam
+ 1
Muhammad thank you
9th Feb 2022, 12:24 PM
Manoj Bhaagam
+ 1
You're welcome
9th Feb 2022, 12:25 PM
Muhammad Galhoum
Muhammad Galhoum - avatar
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.
16th Feb 2022, 12:17 AM
Gurseerit Singh Chahal ✓
Gurseerit Singh Chahal ✓ - avatar
- 1
Yes
11th Feb 2022, 10:28 AM
Abhinav dakshana scholar
Abhinav dakshana scholar - avatar