input: Write a function to remove all the whitespaces from each string in a given list of strings.
  def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]
  
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning']) == ['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace(['   ', '  a  b  c  ', 'd e f']) == ['', 'abcdef', 'def']
  assert remove_whitespace([]) == []
  assert remove_whitespace(['SingleWord', 'NoSpacesHere']) == ['SingleWord', 'NoSpacesHere']
  assert remove_whitespace(['  Leading and Trailing  ', '  Middle  Whitespaces  ']) == ['LeadingandTrailing', 'MiddleWhitespaces']
output: def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]