import itertools

string = input("String a ser permutada: ")

result = itertools.permutations(string,len(string))

for i in result:
    print(''.join(i))
42e4f043291af77d766ad7b23ec8ed59e4cfd4d2
<mask token>

<mask token>
for i in result:
    print(''.join(i))

<mask token>
string = input('String a ser permutada: ')
result = itertools.permutations(string, len(string))
for i in result:
    print(''.join(i))

import itertools
string = input('String a ser permutada: ')
result = itertools.permutations(string, len(string))
for i in result:
    print(''.join(i))

import itertools

string = input("String a ser permutada: ")

result = itertools.permutations(string,len(string))

for i in result:
    print(''.join(i))