input: 
  def phrase_lengths(phrases: List[str]) -> str:
      """ Generate a string with each phrase followed by its length. 
      >>> phrase_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)'
      """
  
output:     result = []
      for phrase in phrases:
          result.append(f"{phrase} ({len(phrase)})")
      return ''.join(result)