trying to ask user to play or not but when I type no it repeats anyway regardless
import random
play = True
while play:
secret = random.randint(1,101)
while True:
guess = int(input("Input your guess: "))
if guess == secret:
print ("Correct!")
again = str(input("Do you want to play? (Type Yes or No): "))
break
elif guess < secret:
print ("Too Low")
continue
elif guess > secret:
print ("Too High")
continue
if again == "no" or "No":
play = False
I want to be able to type 'yes' and plays the guessing game again and when I type 'no' it stops