input: Write a function to generate a string with each phrase in the given list followed by its length in parentheses. If the input list is empty, return an empty string.
  assert phrases_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)"
  assert phrases_with_lengths([]) == ""
output: def phrases_with_lengths(phrases):
      return ''.join(f'{phrase} ({len(phrase)})' for phrase in phrases)