code: def ecp_pot_str(pot):
      '''Return a string representing the data for an ECP potential
      '''
  
      am = pot['angular_momentum']
      amchar = lut.amint_to_char(am)
  
      rexponents = pot['r_exponents']
      gexponents = pot['gaussian_exponents']
      coefficients = pot['coefficients']
  
      point_places = [0, 10, 33]
      s = 'Potential: {} potential\n'.format(amchar)
      s += 'Type: {}\n'.format(pot['ecp_type'])
      s += write_matrix([rexponents, gexponents, *coefficients], point_places)
      return f ecp_pot_str(pot):
      '''Return a string representing the data for an ECP potential
      '''
  
      am = pot['angular_momentum']
      amchar = lut.amint_to_char(am)
  
      rexponents = pot['r_exponents']
      gexponents = pot['gaussian_exponents']
      coefficients = pot['coefficients']
  
      point_places = [0, 10, 33]
      s = 'Potential: {} potential\n'.format(amchar)
      s += 'Type: {}\n'.format(pot['ecp_type'])
      s += write_matrix([rexponents, gexponents, *coefficients], point_places)
      return s
docs: Return a string representing the data for an ECP potential