Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Using Python Permutations function on a String

from itertools import permutations 
string="SOFT"
a=permutations(string) 
for i in list(a): 
   # join all the letters of the list to make a string 
   print("".join(i))
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Using #Python #Permutations #function #String
ADD COMMENT
Topic
Name
5+3 =