input: Write a function to generate a string from a list of phrases, where each phrase is followed by its length in parentheses.
  assert generate_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 generate_phrase_with_length(["Hello", "World"]) == "Hello (5)World (5)"
  assert generate_phrase_with_length([]) == ""
output: def generate_phrase_with_length(phrases):
      return ''.join(f'{phrase} ({len(phrase)})' for phrase in phrases)