<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_supported_types(category_name):
 """ Prints a list of supported external account type names for the given category_name. For example, "AWS_ACCESS_KEY_AUTH" is a supported external account type name for external account category "AWS". """

  types = get_supported_types(api, category_name)
  type_names = [type.name for type in types]
  print ("Supported account types by name for '{0}': [{1}]".format(
    category_name, COMMA_WITH_SPACE.join(map(str, type_names))))