A wizard has recited a list of words, but we know that only "abracadabra" casts the spell. Has it been spoken? Return true if the list contains the word "abracadabra" in upper, lower, or mixed case.
Test predicates: checking elements in collection
Has the spell been invoked?
Report a typo
Sample Input 1:
mom dog ABRACADABRASample Output 1:
trueWrite 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.