• Feedback from user bukebuer

Question related to mission One Fake Out of One Hundred

 

Hello. I've checked every possible index of fake coin and weight (lighter, normal or heavier), and the function return True, which can be checked in the console easily. But I cannot pass test.

I have limited the number of calls. But there's always an StopIteration Error when test. May be test samples use the generator in a different way?

I cannot attach my code in this window, the screenshot is just the situation of console and test sample. Please tell me if my code is needed and whether such thing is a bug. Thank you very much.