Switch Android Kotlin

  
  var num = 2
  
  when (num) {
                1 -> {
                Log.e("num is 1")
                }
                2 -> {
                    Log.e("num is 2")
                }
                3 -> {
                  Log.e("num is 3")
                 }
            }
Glamorous Gerenuk