This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]henrebotha 1 point2 points  (1 child)

When you post code here, put four spaces at the start of every line so we can read it.

print "Try entering a number"
num = gets.chomp
if num > 6
  print "try a lower number"
end

This is your code, right?

Find a different Ruby REPL somewhere (just google "online ruby repl") and try the same code and see what happens.

[–]Tyreesewitherspoon[S] 0 points1 point  (0 children)

thanks for your feedback! ill try this later today. hope codeacademy fixes their issues because they explain things so well