input: Write a function that takes a list of phrases and generates a string with each phrase followed by its length. Each phrase and its length should be enclosed in parentheses and concatenated in the same string. If the input list is empty, the function should return an empty string.
  
  assert generate_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)"
  assert generate_phrase_lengths(["Python", "is", "awesome"]) == "Python (6)is (2)awesome (7)"
  assert generate_phrase_lengths([]) == ""
output: def generate_phrase_lengths(phrases):
      if not phrases:
          return ""
      result = ""
      for phrase in phrases:
          result += f"{phrase} ({len(phrase)})"
      return result