input: 
  from typing import List
  
  def phrase_with_lengths(phrases: List[str]) -> str:
      """ Generate a string where each phrase in the list is followed by its length.
      >>> 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)"
      """
      
  
output:     result = ""
      for phrase in phrases:
          result += f"{phrase} ({len(phrase)})"
      return result