Okay i keep getting an error


#1

okay i keep getting an error here is the error

oops try again: Make sure to replace the __s with the appropriate keyword.

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

i = 20
loop do 
  i -= 1
for i in 1..5
  next if i % 1 ==0
  print i
  print "#{i}"
  break if i <= 0 
end


#2

i = 20
loop do
i -= 1
for i in 1..5
next if i % 2 ==1
print i
print "#{i}"
break if i <= 0
end


#3

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