Why is it so eventhough it worked in the terminal?! help please


#1


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

Oops, try again. It looks like you didn't print out the numbers 1 to 50, inclusive.

num = 0
while num <= 50 do
    print num
    num += 1
end


#2

this will print out number 0 to 50, you should print out 1 to 50


#3

it works thanks .
i didn't realize that is 0 should not be included!!!!


#4

well if the instructions say 1 to 50, then zero shouldn't be included. Good you solved it :slight_smile:


#5