<reponame>perfect104/python-codes<gh_stars>1-10
'''
@author : CodePerfectPlus
@Topic  : Function Method Using ClassMethod.
'''




class Employee:
    """A sample Employee class"""

    def __init__(self, first, last):
        self.first = first
        self.last = last

        print('Created Employee: {} - {}'.format(self.fullname, self.email))

    @property
    def email(self):
        return <EMAIL>'.format(self.first, self.last)

    @property
    def fullname(self):
        return '{} {}'.format(self.first, self.last)


emp_1 = Employee('peter', 'anderson')
emp_2=  Employee('joy', 'andrew')

'''
@author : CodePerfectPlus
@Topic  : Function Method Using ClassMethod.
'''




class Employee:
    """A sample Employee class"""

    def __init__(self, first, last):
        self.first = first
        self.last = last

        print('Created Employee: {} - {}'.format(self.fullname, self.email))

    @property
    def email(self):
        return <EMAIL>'.format(self.first, self.last)

    @property
    def fullname(self):
        return '{} {}'.format(self.first, self.last)


emp_1 = Employee('peter', 'anderson')
emp_2=  Employee('joy', 'andrew')
@author : CodePerfectPlus @Topic  : Function Method Using ClassMethod. A sample Employee class