Randomly Printing "True" Instead of Question
eighty (2)

For reasons I can't quite work out, after answering a few questions, it'll print the text "True" instead of a question. However, it's still possible to answer the question correctly, since there's still a valid answer.

I believe this is tied to the fact that I'm checking for repeat random numbers, and something is going wrong there. I'm not sure though, and even if I was, I have no idea how to solve the problem.

Help is appreciated.

You are viewing a single comment. View All
Answered by ArchieMaclean (730) [earned 5 cycles]
View Answer
eighty (2)

@ArchieMaclean Thanks for pointing that out! I missed that little typo.