Create a list of strings from standard input with space as the separator. Then check if your list is empty/null or not. If it is empty or null, print true, otherwise print false.
Null and collections
Is it empty or null?
Report a typo
Sample Input 1:
Sample Output 1:
trueWrite a program in Kotlin
fun main() {
// Write your code here
}
___
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.