input: Write a function to remove all the whitespaces from each string in the given list of strings and return the updated list. The function should be named remove_whitespace.
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning'])==['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace(['    ', 'NoSpace', 'Some  Space  '])==['', 'NoSpace', 'SomeSpace']
  assert remove_whitespace([])==[]
  assert remove_whitespace(['SingleWord'])==['SingleWord']
  assert remove_whitespace(['   Extra  Spaces  '])==['ExtraSpaces']
output: def remove_whitespace(strings):
      return [s.replace(" ", "") for s in strings]