I know this question might be already here on the site but all of them are not what I need. I have a list of strings in python like this
my_list = ["word1", "word2", "word3"]
now I want these words to be randomly mixed in a text file like this
word1word3word2
word2word3word1
word2word1word3
without any spaces and also using all the possible combinations and without any duplicates. Is this possible in python or not, if yes, then how ?
Aucun commentaire:
Enregistrer un commentaire