A secret should always be a secret

Report a typo

Write a program that checks whether the word secret appears in a list of words, regardless of case (e.g., Secret, SECRET, or SeCrEt should all count as the same word).

Your program should output True if secret is not in the list, and False if it's present in any form.

In short: Make sure no one can sneak secret into the list by changing its capitalization!

Sample Input 1:

secret dad mom

Sample Output 1:

false
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