Search
 
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
Name
5+8 =