Repetition


Collapse Content

Given a String word that is n characters long, create and return a new String that consists of n copies of word. For example "abc" would become "abcabcabc".

Challenge

Return a String that has been duplicated as above.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Comments

Contact Us
Sign in or email us at [email protected]