input: Write a function to remove all occurrences of a given character from a string.
  assert replace_all_occurrences("hello world", "l") == "heo word"
  assert replace_all_occurrences("python programming", "o") == "pythn prgramming"
  assert replace_all_occurrences("data science", "e") == "data scinc"
output: def replace_all_occurrences(s: str, char: str) -> str:
      return s.replace(char, "")