def ssn(self) -> str:
        """
        Generates random Greek social security number (AMKA)
        :return: a random Greek social security number
        """

        ssn = self.generator.date(pattern="%d%m%y") + self.numerify("####")
        return ssn + str(calculate_luhn(ssn))

        Generates random Greek social security number (AMKA)
        :return: a random Greek social security number
        
faker/providers/ssn/el_GR/__init__.py