9/4 Call it This is frustrating


#1



https://www.codecademy.com/courses/ruby-beginner-en-ET4bU/0/4


It tells me to call the method on line 5 thoughts that what i did. Please Help


1      def array_of_10
2          puts (1..10).to_a
3      else
4          puts "out of range"
5  array_of_10
6   end


#2

Your method calls itself, but it's never initially called


#3

Any advise on how it should be coded ? I am seriously lost here.


#4

You've edited the code beyond what's asked for, so click the reset button

The instructions then describe what you're supposed to change, so read that over


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.