code: def format_repr(obj, attributes) -> str:
      
  
      attribute_repr = ', '.join(('{}={}'.format(attr, repr(getattr(obj, attr)))
                                  for attr in attributes))
      return "{0}({1})".format(obj.__class__.__qualname__, attribute_repr)
docs: Format an object's repr method with specific attributes.