input: Write a function that substitutes empty spaces in a string with a specified character.
  assert replace_blank("hello people", '@') == "hello@people"
  assert replace_blank("python program language", '$') == "python$program$language"
  assert replace_blank("blank space", "-") == "blank-space"
output: def replace_blank(string, char):
      return string.replace(' ', char)