Kotlinlearncs.online LogoJava
Return to List

Homework: The End

Imported By: learncs.online Staff
/ Version: 2021.5.0
/ Adapted from CodingBat

Given a String, return a string length 1 from its front, unless front is false, in which case return a String length 1 from its back. The string will be non-empty.

Related Lessons

Stuck? You may find these lessons helpful: