I've put while True at the start of my program and the loop at the end of the game. if you press 'n', works fine. If you press 'y', doesnt work at all.
while True:
    plyagn = input("Would you like to play again? (y/n)")
    if plyagn in ("y", "n"):
        print("*** Please choose 'y' or 'n'! ***")
    if plyagn == "y":
        continue
    if plyagn == "n":
        break
                while True:
                    again = input("Would you like to play again? (y/n)")
                    if again == "y":
                        continue
                    else:
                        quit()
if i press 'n', it works perfectly fine and the game ends. However, when i press 'y', it repeats the question over and over and does not restart the game. No error messages at all.
 
    