DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
unique combinations in python
from itertools import combinations [",".join(map(str, comb)) for comb in combinations(L, 3)]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#unique
#combinations
#python
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit