import itertools


def _get_permutations_draw(draw):
    """Helper for get_possible_dict_words to get all permutations of draw letters.
    Hint: use itertools.permutations"""
    permuts = list(''.join(h) for h in (x for l in range(1, 8) for x in itertools.permutations(draw, l)))
    return permuts