Looping with While


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-XYcN1/3/1?curriculum_id=5059f8619189a5000201fbcb

I'm pretty stuck... My code seems to be running fine but it won't let me pass?

EDIT: Nevermind, I guess I'm bad at reading instructions. I was using puts when i should have been usint print. Sorry!


i = 1
while i <= 50
  puts i
  i = i + 1
end


#2

This code is working. I tried this. I tried and it results from 1 to 50 numbers. What is your question in it?