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 with extra function
from itertools import permutations print(len(list(permutations([1,2,3,4],4))))
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#Using
#python
#permutations
#function
#list
#extra
#function
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit