playpythonpy
Python for Kids
Tuesday, 2 June 2020
38. itertools.permutations(str(myInt))
import itertools
myInt = 123
l = itertools.permutations(str(myInt))
for x in l:
print (x)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)