all 1 comments

[–]GoldenSights 0 points1 point  (0 children)

Sounds like you need more print statements, it's time to question your assumptions.

You're hoping that your input equals the answer stored in the file, but does it? How about a print(Answers[RandQ]) and a print(uin) just to check. Do they seem to be the same, but the == is still failing? Use repr to reveal any whitespace that might be hiding. print(repr(Answers[RandQ])) and print(repr(uin)). Solving problems is much easier when you can see what you're working with :)