We have a list of words, and we must verify that each word is longer than 4 characters.
Test predicates: checking elements in collection
The secret is in the length
Report a typo
Sample Input 1:
dog mom dad peterSample Output 1:
falseWrite a program in Kotlin
fun main() {
val list = readln().split(" ")
// write your code here
val res =
println(res)
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.