7. Building Your Own (stuck on the syntax)


#1



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


undefined method `num' for #
Oops, try again. It looks like you didn't print out all the numbers from 1 to 20, inclusive.


for variable in range 1..20
  puts variable
end


#2

HI you don't need of the range just put it like that

... in 1..20

#3

I see, thanks much! I thought range was part of the syntax but it was a place holder / directions.