Looping with "for"

i really need help i dont know why its not working
this is my code
for i in 1…50
print i
end
its saying oops it looks like you didnt print 1 to 50 inclusive

I assume you are at 16. Looping with ‘For’ ? I just copied your code and it let me pass.

1 Like

yep i am at 16. looping with for and that’s weird cause it still wont let me pass

you might have something else wrong in our code

Clear all other lines.

1 Like

i just got the same error. tried to reset code, refreshed the page… it actually appears correct (including the 50) in the box, but the error message still pops up, and I am not passing this part :frowning:

done… clearing everything else worked

2 Likes

Thanks for your answer on lesson 16!