<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete_external_account(resource_root, name):
 """ Delete an external account by name @param resource_root: The root Resource object. @param name: Account name @return: The deleted ApiExternalAccount object """

  return call(resource_root.delete,
      EXTERNAL_ACCOUNT_FETCH_PATH % ("delete", name,),
      ApiExternalAccount, False)