input: Write a function to repeat a string n times.
  assert repeat_string("abc", 3) == "abcabcabc"
  assert repeat_string("hello", 2) == "hellohello"
  assert repeat_string("test", 1) == "test"
output: def repeat_string(s, n):
      return s * n