input: Below is an instruction that describes a task. Write a response that appropriately completes the request.
  
  ### Instruction:
  Write a Python program to take in a list of phrases and generate a string with the each phrase followed by its length.
  
  ### Input:
  phrases = ["A bird in the hand", "is worth two in the bush"]
  
  ### Output:
  result = "A bird in the hand (17)is worth two in the bush (25)"
  
  code:
  def generate_phrase_with_lengths(phrases: List[str]) -> str:
      """
      This function takes in a list of phrases and generates a string with each phrase followed by its length.
      
      >>> generate_phrase_with_lengths(["A bird in the hand", "is worth two in the bush"])
      "A bird in the hand (17)is worth two in the bush (25)"
      >>> generate_phrase_with_lengths(["Hello", "World"])
      "Hello (5)World (5)"
      """
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result
output:     result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result