Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Given a string, return a string where there are three characters for every character in the original.
Example: repeatCharacters('Hello') --> 'HHHeeellllllooo' repeatCharacters ('Mississippi') --> 'MMMiiissssssiiippppppiii'
5 odpowiedzi