input: Write a function to remove all the whitespaces from each string in a given list of strings. The function should return the list with each string stripped of its 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(['  Test String  ', ' Another One ', '']) == ['TestString', 'AnotherOne', '']
output: def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]