Ad
  • Custom User Avatar

    First of all, you are modifying the value of the argument passed to the function, which you shouldn't. With your loop, you will always repeat the string 6 times, no matter the input.
    Second, the function is supposed to return the new string, but it seems that you've deleted it from the passed arguments.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution