Ruby Playground - taking input through gets(): Online Interpreter, Compiler & Editor | Sololearn