input: Write a function to remove all whitespaces from each string in a given list of strings. The function should return a new list of strings with all whitespaces removed. The input list is provided as an argument to the function.
  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(['No spaces', '  Extra   Spaces  ']) == ['Nospaces', 'ExtraSpaces']
  assert remove_whitespace([]) == []
  assert remove_whitespace(['SingleString']) == ['SingleString']
output: def remove_whitespace(word_list):
      return [word.replace(" ", "") for word in word_list]