Ruby Playground - Triangle Challenge with explanation: Online Interpreter, Compiler & Editor | Sololearn