input: Write a python function to repeat a given string a specified number of times.
  assert repeat("abc", 3) == "abcabcabc"
  assert repeat("test", 2) == "testtest"
  assert repeat("hello", 0) == ""
output: def repeat(string, times):
      return string * times