Python Class property question about how check if the name is isalpha() in the setter? : can anyone help me out with this requirement? I have been trying to fix it, but not succefful.
I would really appreciate if someone can help me out thanks.  

name: property returns capitalized name and setter checks the name isalpha() and if true store the name in the object otherwise store ‘Unknown’

eid: property returns eid zero filled up to 4 spaces and setter will assign ‘9999’ if length is zero, otherwise store the eid.

here is my code.

class Employee:

    def __init__(self, name, eid):
        self.name = name
        self.eid = eid

    def set_name(self, name):
        if name.isalpha():
            self.__name = name
        else:
            self.__name = 'Unknown'

    def set_eid(self, eid):
        if self.eid.isalpha():
            self.eid = eid
        else:
            self.eid = "9999"

    def get_name(self):
        return self.name

    def get_eid(self):
        return self.eid

    def __str__(self):
        return "%s: %s " % (self.eid, self.name)

def main():

    empName = input('Name')
    eid = input('Id')
    employeeInfo = Employee(empName, eid)

    print(employeeInfo.__str__())

main()