I tried the problem and didn't have any issues. I would recommend making sure all your formatting is correct (e.g. correct number of spaces, lines, etc.) and ensuring that you're always generating new random numbers and comparing them correctly each time. Because it's using random numbers, it should be just going off of what the output looks like, not the actual values.