I have some code set up to where 2 consonants are randomly generated and 2 vowels are randomly generated, and each are assigned to their own individual variable. I used print (itertools.permutations(list)) to show all possible combinations of the 4 letters, with list being the variables of each vowel or consonant, but nothing happened. Is there an easier way to do this? Or am I just doing it wrong?
Aucun commentaire:
Enregistrer un commentaire