I was slowly trudging through this exercise until I got to this point. I corrected a minor thing or two by looking at the solution and it still didn’t work. My code was basically the same. I have now rewritten it to be exactly the same (as per screen shot) but it’s still not working. Am I blindly missing something wrong or is this a bug?
It’s the last exercise of the Python 3 Loops, but as it’s in a J notebook, I don’t know if I can link.
You can find my notebook here.
And the solution here.