I'm trying to find out where my mistake is in the following code which is about guessing a word.
If I type in the missing word, "ghost", it should end the game but it continues to ask for it.
Where is my mistake?
number = 0
missword = "ghost"
while number < 3:
guess = input("What is the missing word? ")
if guess != "ghost":
print("Try again")
number = number + 1
elif guess == missword:
print("Game Over")
else:
print("Game over")