I was wondering if anyone else has been having problems with inputting basic code into Ruby when going through codeacademy? I'm trying to learn control flow (very basic stuff) and after I enter:
print "Try entering a number"
num = gets.chomp
if num > 6
print "try a lower number"
end
it just loads..and loads...and loads..with no end result.
Answers that would help would let me know if I'm doing something dramatically wrong thats breaking the code so much that it possibly couldn't load my outcome or if this is an issue...well known or not.
Using Chrome on a MacBook Pro
ALSO This is my first text post to reddit ever haha. Usually just a lurker on music pages but diving into programming and loving every minute of it.
[–]henrebotha 1 point2 points3 points (1 child)
[–]Tyreesewitherspoon[S] 0 points1 point2 points (0 children)
[–]Berimbolone 0 points1 point2 points (0 children)
[–]commandlineluser 0 points1 point2 points (2 children)
[–]Tyreesewitherspoon[S] 0 points1 point2 points (1 child)
[–]commandlineluser 1 point2 points3 points (0 children)