Nested Loops - Exercise Error

Hi ,

I was working on that code but system prompts" do i have nested loops and i have them.
Also my code does not run because of that.

Can someone please provide a suggestion?


1 Like

Hello. Could you please provide the link to the exercise?

1 Like

yes. Link is

Check your spelling in your for-loop declaration :slight_smile:

1 Like

Haha, i did not focus on that.
Yes, my code runs now.
I was focusing entirely on the error as a horse in horse race which codecademy provided “for loop error” . Should not that be a syntax error rather than a nested loop error?

Thanks toastedpitabread

Yes it should be. I think the CC validator error messages sometimes fall short when trying to be too specific, as they can throw people off the trail of actual errors.