Looping with "for"


#1

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


#3

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


#4

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


#5

you might have something else wrong in our code


#6

Clear all other lines.


#7

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:


#8

done... clearing everything else worked


#9

Thanks for your answer on lesson 16!