What does the following code output?
val str = "Hello, Kotlin"
var i = str.lastIndex
while (i >= 1) {
print(str[i])
i--
}What does the following code output?
val str = "Hello, Kotlin"
var i = str.lastIndex
while (i >= 1) {
print(str[i])
i--
}Create a free account to access the full topic