DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Using python permutations function on a list
from itertools import permutations a=permutations([1,2,3,4],2) for i in a: print(i)
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#Using
#python
#permutations
#function
#list
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit