So here is a lesson link: https://www.codecademy.com/courses/ruby-beginner-en-XYcN1/3/2?curriculum_id=5059f8619189a5000201fbcb
instruction is to print numbers from 1 to 50, inclusive way. Here is my code:
i = 1 until i == 50 do puts i i += 1 end
It counts from 1 to 49. Than I change i to 51, and it shows numbers from 1 to 50, but still says that "It looks like you didn't print out the numbers 1 to 50, inclusive." I'm really stuck, please help, what is wrong with this code?
It's the same if I change puts with print.