Solve: notString
Imported By: Geoffrey Challen
/ Version: 2021.4.0
Given a String
, return a new String
where "not " has been added to the front.
However, if the String
already begins with "not", return the string unchanged.
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 notString(input: String): String {
return ""
}