+ 6

Why do the system still prompt for input?

gets.to_i is part of comment. Can't figure why do the system still prompt for input. Code: =begin This Spans Multiple Comment gets.to_i =end print "hello world"

4th May 2017, 4:27 AM
SC Lee
SC Lee - avatar
1 Answer
+ 10
This is a good question: I already know why, but it is because SoloLearn's compilers are kept in a server, thus keeping low storage, if an input keyword was found (even if it is a comment) you will still have to input it and nothing will happen.
4th May 2017, 4:59 AM
Complex
Complex - avatar