Kotlinlearncs.online LogoJava
Return to List

Solve: Make Out Word

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given an String out length 4, such as "<<>>", and a String word, return a new String where the word is in the middle of the out String: "<>".

fun makeOutWord(
out: String,
word: String,
): String {
return "" // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: