def discover_article(word):
    """Discovers if the word is proceeded by an 'a' or an 'an' """

    return 'an' if word[0].lower() in 'aeiou' else 'a'

    # My first attempt
    # vowels = ['a', 'e', 'i', 'o', 'u']
    # first_letter = word[0].lower()
    # article = 'a'
    #
    # for vowel in vowels:
    #     if first_letter == vowel:
    #         article = 'an'
    #
    # return article