```
import random

list_of_words = ["ability", "able", "above", "administration", "against", "agency", "along",
                "almost", "answer"]

guessword = random.choice(list_of_words)

while True:
    result = input("Enter your guess: ")

    for word in guessword:

        if word in result:
            print(word)

        else:
            print("_")

```

I'm making a hangman project. When the user enters a letter, it should be present even when the next character is inputted, but the problem is that it resets completely. How do I fix this?