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 list(it for i in range(1, 8) for it in itertools.permutations(draw, i))