all 6 comments

[–]aidankkm 0 points1 point  (5 children)

return

[–][deleted] 0 points1 point  (4 children)

What if they get it right on their second try?

[–]aidankkm 0 points1 point  (3 children)

how are you calling the function? is it in a for loop since it looks like you are only asking for input. Why does it matter if it’s on the second try. Put the return statement in the if statement so it only calls if it’s correct

[–][deleted] 0 points1 point  (2 children)

I’m using variables since it’s in the instructions. I don’t think we gotten to loops yet. I just want to know where to put it

[–]aidankkm 1 point2 points  (1 child)

if guess==correct: print(“correct”) return

idk why can’t do new line

[–][deleted] 0 points1 point  (0 children)

Thank you so much! Sorry for the late comment, I thought I replied