BullCowGame Issue

I got some issue with code. When i run the game and win, game print on screen “You Won” and after ask “Do you want to play again?” and when i type “y” code print on screen again message “YOU WON” and ask me if I want play again and repeats like infinite loop as long I type “y” skipping the section with word guessing. No errors or warnings.

Can some show sent working code so I compare and find what mistake i done?

Privacy & Terms