import random


def pick_word(word_list, seen_words):
    """Choose a random word from a given word list being careful not to choose
    the same word twice
    """
    chosen_word = random.choice(word_list)

    while chosen_word in seen_words:
        chosen_word = random.choice(word_list)

    seen_words.add(chosen_word)

    return chosen_word