<filename>step_1.py
class Human:

    def __init__(self, name, date_birth, address):
        self.name = name
        self.date_birth = date_birth
        self.address = address


class TrainingGroup:

    def __init__(self, name):
        self.name = name
        self.humans = []

    def add(self, human: Human) -> None:
        self.humans.append(human)

        # print('Студент добавлен  {}'.format(self.__hash__()))
        # print()

    def remove(self, human: Human) -> None:
        for item in self.humans:
            if item == human:
                self.humans.remove(item)
                item.print()
                break




<filename>step_1.py
class Human:

    def __init__(self, name, date_birth, address):
        self.name = name
        self.date_birth = date_birth
        self.address = address


class TrainingGroup:

    def __init__(self, name):
        self.name = name
        self.humans = []

    def add(self, human: Human) -> None:
        self.humans.append(human)

        # print('Студент добавлен  {}'.format(self.__hash__()))
        # print()

    def remove(self, human: Human) -> None:
        for item in self.humans:
            if item == human:
                self.humans.remove(item)
                item.print()
                break




# print('Студент добавлен  {}'.format(self.__hash__())) # print()