input: Write a function to remove all whitespaces from each string in a given list of strings. The function should return a new list where each string has been stripped of all whitespaces.
  
  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(['  Hello  ', '  World  '])==['Hello', 'World']
  assert remove_whitespace(['NoSpaces', '   Spaces   '])==['NoSpaces', 'Spaces']
  assert remove_whitespace([])==[]
output: def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]