I would like to write a script in Python and I have a word for ABDEB in my hand. I want to make this word into an array and then shuffle the letters inside the word and get the words in different combinations. In addition, these combinations may contain repetitive letters and make a column like;
BBBED, EEEEA, ADDEA,
etc.
After all, I would like to get these words into a text file.
How can I do that?
I would appreciate if you could help.
Aucun commentaire:
Enregistrer un commentaire