Kotlin - Collections Fundamentals
You have a list of nullable strings:
val names: List = listOf("Anna", null, "Bob") . How do you safely print the length of the third element or print 0 if it is null?