input: def generate_result_string(phrases: List[str]) -> str:
      """
      Generates a string where each phrase in the input list is followed by its length.
      
      >>> generate_result_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)"
      >>> generate_result_string(["Hello world", "Python is great"])
      "Hello world (11)Python is great (15)"
      """
      
      result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result
output:     result = ""
      for phrase in phrases:
          result += phrase + ' (' + str(len(phrase)) + ')'
      return result