Kotlin Playground - constrain values within a range: Online Interpreter, Compiler & Editor | Sololearn