input: Write a function to concatenate a list of phrases with each phrase followed by its length. The function should return a single string with each phrase and its length enclosed in parentheses.
  def concat_phrases_with_length(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result
  
  assert concat_phrases_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 concat_phrases_with_length([]) == ""
  assert concat_phrases_with_length(["short", "longer phrase"]) == "short (5)longer phrase (13)"
  assert concat_phrases_with_length(["one"]) == "one (3)"
  assert concat_phrases_with_length(["", "empty"]) == " (0)empty (5)"
output: def concat_phrases_with_length(phrases):
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result