input: Write a function to generate a string from a list of phrases where each phrase is followed by its length. If the list is empty, return an empty string. 
  assert phrase_with_length(["A bird in the hand", "is worth two in the bush"]) == "A bird in the hand (17)is worth two in the bush (25)"
  assert phrase_with_length(["Hello", "World"]) == "Hello (5)World (5)"
  assert phrase_with_length([]) == ""
output: def phrase_with_length(phrases):
      if not phrases:
          return ""
      result = ""
      for phrase in phrases:
          result += f"{phrase} ({len(phrase)})"
      return result