Ruby Playground - Collatz problem: Online Interpreter, Compiler & Editor | Sololearn