input: Write a function to generate a string with each phrase from a given list followed by its length. The function should return the concatenated result of all phrases along with their respective lengths.
  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([]) == ""
  assert generate_phrase_lengths(["Hello", "World"]) == "Hello (5)World (5)"
  assert generate_phrase_lengths(["Python is fun", "but sometimes tricky"]) == "Python is fun (12)but sometimes tricky (18)"
  assert generate_phrase_lengths(["SinglePhrase"]) == "SinglePhrase (12)"
output: def generate_phrase_lengths(phrases):
      return ''.join(f"{phrase} ({len(phrase)})" for phrase in phrases)