For a school project I am making a hangman game in Python. Right now my code picks a word from a dictionary like so:
WordList = [\"cat\", \"hat\", \"jump\",
You have to use persistent storage: write the words in a file when you add them and retrieve them from this file when the program starts.