Kotlin - Control Flow as Expressions
Identify the problem in this Kotlin code:
val y = 15
val res = when (y) {
in 1..10 -> "Low"
in 11..20 -> "Medium"
in 21..30 -> "High"
}
println(res)