input: Write a function to generate a string where each input phrase is followed by its length. The function should take a list of phrases as input and return a single string with each phrase and its length enclosed in parentheses immediately following the phrase. If the input list is empty, the function should 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([]) == ""
  assert phrase_with_length(["Python is fun"]) == "Python is fun (12)"
  assert phrase_with_length(["Testing", "one", "two", "three"]) == "Testing (7)one (3)two (3)three (5)"
output: def phrase_with_length(phrases):
      return ''.join(f'{phrase} ({len(phrase)})' for phrase in phrases)