how do i get to the scenario in which i choose the same wrong answer and get “You guessed that one already.” printed? Because even after i choose the wrong one once, the game restarts. How do i continue from there to achieve getting the wrong one for the second time?
We can see our own code from the link (thanks for that), but we cannot see yours. It will be necessary to post your own code in a reply so we can move forward with this question.
You’d place that code immediately or soon after reading the guess.
As for restarting, the idea is to put the part of the game that repeats (a turn) inside a loop, not sure if that’s one of your previous exercises, or future ones, but it’s in there somewhere.