Kotlinlearncs.online LogoJava
Return to List

Homework: notString

Imported By: Geoffrey Challen
/ Version: 2021.4.0
/ Adapted from CodingBat

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.

Related Lessons

Stuck? You may find these lessons helpful: