0

How to search through a list of number combinations?

22nd Oct 2021, 7:42 AM
Collin Chitila B
Collin Chitila B - avatar
2 Réponses
0
Thanks, though the code is like this. Import itertools item=list(itertools.combinations([0,1,2,3,4,5,6,7,8,9],3)) Print(item) Now i want to find a certain number combination such as (4,3,0) in the resulting list.
22nd Oct 2021, 11:59 AM
Collin Chitila B
Collin Chitila B - avatar