input: Write a python function to calculate the average word length of a given title.
  assert calculate_average_word_length("The Cat in the Hat") == 3.0
  assert calculate_average_word_length("Hello World") == 5.0
  assert calculate_average_word_length("A quick brown fox jumps over the lazy dog") == 3.888888888888889
output: def calculate_average_word_length(title: str) -> float:
      words = title.split()
      total_length = sum(len(word) for word in words)
      average_length = total_length / len(words)
      return average_length