input: Write a function to remove all whitespaces from each string in a given list of strings. The function should return the list with all strings stripped of any whitespace.
  
  def remove_whitespace(word_list):
      return [word.strip() for word in word_list]
  
  assert remove_whitespace(['Hello  World  ', 'Hi  there', 'Good  Morning'])==['HelloWorld', 'Hithere', 'GoodMorning']
  assert remove_whitespace(['   Python  ', '  Code '])==['Python', 'Code']
  assert remove_whitespace([''])==['']
  assert remove_whitespace([])==[]
  assert remove_whitespace(['NoSpaces', 'NoSpacesEither'])==['NoSpaces', 'NoSpacesEither']
output: def remove_whitespace(word_list):
      return [''.join(word.split()) for word in word_list]