try ```random.choice(word_dict[key_word])```
it's a lot more self-contained