Build a Text Adventure

I need to use a for loop for my project and I want to make it so if the user doesn’t pick the right choice they can’t do anything else until they make the right choice. I feel like I didn’t use the for loop right. Here’s the code I have so far, please help, :pray: .

1 Like

Your feeling is correct.

What you probably want is a while loop. You’ll probably want to continue prompting the user for a response while the response isn’t correct.

1 Like

It worked, I just needed to use a while loop, as you said., Tysm!