def make_wordlist() -> list:
    """Makes a list of words and returns it as a list"""
    fin = open('think-python-2e-exercises/words.txt')

    word_list = []
    
    for line in fin:
        word = line.strip()
        word_list.append(word)
    
    return word_list