Next!


#1


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

Oops, try again. Make sure to replace the ___s with the appropriate keywords!


. for num ..18
loop do
  i -= 1
 next if i % 3 == 0
  print "#{i}"
  break if i <= 0
end

brianna_03


#2

Should be,

i = 20
next if i % 2 != 0

will skip over odd numbers.


#3

thank you so much i really appreciate it


#4

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