from tw_services import get_challenge_meta, send_solution


def solve_challenge():
    challenge_meta = get_challenge_meta()

    # Goal is to count the vowels in the given string
    s = challenge_meta['text']

    vowels = ['a', 'e', 'i', 'o', 'u']
    solution = {}
    list(map(lambda vowel: solution.update({vowel: s.count(vowel)}), vowels))

    send_solution({
        "output": solution
    })


if __name__ == '__main__':
    solve_challenge()

828ba3ac3e82c834d36d122a625045f995d66eab
<mask token>

<mask token>


def solve_challenge():
    challenge_meta = get_challenge_meta()
    s = challenge_meta['text']
    vowels = ['a', 'e', 'i', 'o', 'u']
    solution = {}
    list(map(lambda vowel: solution.update({vowel: s.count(vowel)}), vowels))
    send_solution({'output': solution})


<mask token>

<mask token>


def solve_challenge():
    challenge_meta = get_challenge_meta()
    s = challenge_meta['text']
    vowels = ['a', 'e', 'i', 'o', 'u']
    solution = {}
    list(map(lambda vowel: solution.update({vowel: s.count(vowel)}), vowels))
    send_solution({'output': solution})


if __name__ == '__main__':
    solve_challenge()

from tw_services import get_challenge_meta, send_solution


def solve_challenge():
    challenge_meta = get_challenge_meta()
    s = challenge_meta['text']
    vowels = ['a', 'e', 'i', 'o', 'u']
    solution = {}
    list(map(lambda vowel: solution.update({vowel: s.count(vowel)}), vowels))
    send_solution({'output': solution})


if __name__ == '__main__':
    solve_challenge()

from tw_services import get_challenge_meta, send_solution


def solve_challenge():
    challenge_meta = get_challenge_meta()

    # Goal is to count the vowels in the given string
    s = challenge_meta['text']

    vowels = ['a', 'e', 'i', 'o', 'u']
    solution = {}
    list(map(lambda vowel: solution.update({vowel: s.count(vowel)}), vowels))

    send_solution({
        "output": solution
    })


if __name__ == '__main__':
    solve_challenge()
