input: Write a python function to replicate a string a given number of times.
  assert replicate_string("abc", 3) == "abcabcabc"
  assert replicate_string("hello", 2) == "hellohello"
  assert replicate_string("x", 5) == "xxxxx"
output: def replicate_string(s, n):
      return s * n