[Solved] How do I use permutation to find all possible words from an input? [closed]

[ad_1]

as far as the error is concerned
print(list1[random].randint(1,length)) should be changed to
print(list1[random.randint(1,length)])

2

[ad_2]

solved How do I use permutation to find all possible words from an input? [closed]