input: Write a function to take in a list of phrases and generate a string with each phrase followed by its length. The format of the output string should be 'phrase (length)phrase (length)' and should not include spaces or separators between phrases and their lengths.
  
  def generate_phrase_length_string(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result
  
  assert generate_phrase_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_phrase_length_string(["Keep it simple", "stupid"]) == "Keep it simple (13)stupid (6)"
  assert generate_phrase_length_string(["To be or not to be"]) == "To be or not to be (18)"
  assert generate_phrase_length_string([]) == ""
output: def generate_phrase_length_string(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result