Kotlinlearncs.online LogoJava
Return to List

Solve: String Times

Imported By: Geoffrey Challen
/ Version: 2021.4.0

Given a String and a non-negative int, return a String that is n copies of the original string.

String stringTimes(String input, int n) {
return ""; // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: