[typo] Is there a typo in my nested loop?

I’m stuck at step 4. Every time I ran my code, the page just keeps loading, forever. I can’t get feedback and I can’t move forward. Is there something wrong with my code? Did I write an infinite loop or something?

yes, you did. the value of j never changes

Thank you thank you thank you! Can’t believe that I got stuck on this for 2 hours just because I took i as j. I have to be more careful next time.

or learn how to use breakpoints, that can be really useful in cases like this

1 Like