input: 
  from typing import List
  
  def generate_phrase_with_lengths(phrases: List[str]) -> str:
      """
      Generates a string where each phrase in the input list is 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)"
      """
      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