input: Write a function to generate a string with each phrase from a given list of phrases followed by its length.
  
  
  def generate_length_string(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result
  
  assert generate_length_string(["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_length_string(["Hello world", "Python is great"]) == "Hello world (11)Python is great (14)"
  assert generate_length_string([]) == ""
  assert generate_length_string(["Single"]) == "Single (6)"
  
output: def generate_length_string(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result