I am trying to create a Python program where it takes a string and displays permutations on it.
For instance.
If the user enters "[AAA] Grim", he must generate words starting with "aaa Grim", then "aab Grim", then "aac Grim" to "zzz Grim", etc. Or, if the user enters "[AA] Grim", he must generate "aa Grim", "ab Grim", "ac Grim" for "zz Grim"
Sorry for the incomprehensible title of the question. I am not sure how to state what I need without an example. :)
source
share