input: Write a python function to calculate the total number of words and characters in a list of strings.
  assert count_words_and_characters(["Hello", "world!"]) == (2, 10)
  assert count_words_and_characters(["This is a test", "with multiple", "strings"]) == (6, 27)
  assert count_words_and_characters(["Single", "word"]) == (2, 10)
  assert count_words_and_characters(["Empty", ""]) == (1, 5)
  assert count_words_and_characters([""]) == (0, 0)
output: def count_words_and_characters(strings):
      total_words = sum(len(s.split()) for s in strings)
      total_characters = sum(len(s) for s in strings)
      return total_words, total_characters