import itertools


def _get_permutations_draw(draw):
    """Helper to get all permutations of a draw (list of letters), hint:
       use itertools.permutations (order of letters matters)"""
    return {
        "".join(x).lower()
        for l in range(1, len(draw))
        for x in itertools.permutations(draw, l)
    }