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.
For this problem we're expecting only a method.
Don't define a class, include modifiers like static or public, add import statements, or add code outside the method declaration.fun seeColor(input: String): String {
return ""
}