List of students

Report a typo

We have a list of students. Please get a list with the number of characters in the student names.

Sample Input 1:

Anne Michael Caroline Dimitry Emilio

Sample Output 1:

[4, 7, 8, 7, 6]
Write a program in Kotlin
fun main() {
val list = readln().split(" ")
// write your code here
val res =


println(res)
}
___

Create a free account to access the full topic