Kotlinlearncs.online LogoJava
Return to List

Homework: Double Char

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

Given a non-null String, return a new String where every character in the original input is doubled. So "The" yields "TThhee".