def get_language(language_list: list) -> str:
    """Asks the user which language they would like to use"""

    print("Available languages: ")
    print(language_list)

    language = ''

    while True:
        language = input("Please enter a langauge: ")
        if language in language_list:
            break
        else:
            print("Not a valid language")

    return language