Kotlin - Control Flow as Expressions
What is the output of this Kotlin code?
val x: Any = 7
val result = when (x) {
in 1..5 -> "Low"
in 6..10 -> "Medium"
else -> "High"
}
println(result)