Next! error?


My code is 

i = 20
loop do
  i -= 1
  next if i % 2 != 0
  break if i <= 0

Yet it says it doesn't print 18-0 even though it DOES and I can see them in the window.
seeing how It actually does print 18..0 without odd numbers... I am not sure what there is that is wrong.

Edit: I was putting "puts" instead of "print" nevermind...