(skill, course: Course)
return sum(
        [
            _make_challenges_using(_get_phrase_challenges, skill.phrases, course),
            _make_challenges_using(_get_word_challenges, skill.words, course),
        ],
        start=[],
    )
Generates challenges for a certain Skill
Generates challenges for a certain Skill
Generates challenges for a certain Skill
def _get_challenges_data(skill, course: Course):
    """
    Generates challenges for a certain Skill
    """
    return sum(
        [
            _make_challenges_using(_get_phrase_challenges, skill.phrases, course),
            _make_challenges_using(_get_word_challenges, skill.words, course),
        ],
        start=[],
    )
def _get_challenges_data ( skill , course : Course ) : return sum ( [ _make_challenges_using ( _get_phrase_challenges , skill . phrases , course ) , _make_challenges_using ( _get_word_challenges , skill . words , course ) , ] , start = [ ] , )