Kotlinlearncs.online LogoJava
Return to List

Solve: See Color

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given a String, if it begins with "red" or "blue" return that color string, otherwise return the empty string.

fun seeColor(input: String): String {
return "" // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: