Three's Company @ Dcoder

Words
64
Reading
1 min
Listen
Play
4y

Problem: This problem requires you to create a output string from input string such that for every character in input string, there are three same characters in output string.
Input: First line contains N, the number of letters in the string.
The next line contains the string.
Output: Print the output_string.
Constraints: 1 ≤ N ≤ 20
Sample Input: 5
Hello
Sample Output:
HHHeeellllllooo
Link

input()
for s in input():
  print(s*3, end='')
Three's Company @ Dcoder | Ecency