# defining class
class Employee:
# defining the constructor 
    def __init__(self, id):
        self.id = id
        print("The employee id is", self.id)
#storing the obj 
a1 = Employee(1)
a2 = Employee(2)   

class Employee:
    def __init__(self,name,id):
        self.name = name
        self.id   = id
    def display(self):
        print("The employee name is", self.name)
        print("The emp id is", self.id)
a1 = Employee(22, 'chary')
a1.display()
a2 = Employee(44, 'battu')
a2.display()                 
03d62ac741806c9d5a76df2626389c82e7cb7a6c
<mask token>


class Employee:

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

    def display(self):
        print('The employee name is', self.name)
        print('The emp id is', self.id)


<mask token>

class Employee:
    <mask token>


<mask token>


class Employee:

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

    def display(self):
        print('The employee name is', self.name)
        print('The emp id is', self.id)


<mask token>

class Employee:

    def __init__(self, id):
        self.id = id
        print('The employee id is', self.id)


<mask token>


class Employee:

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

    def display(self):
        print('The employee name is', self.name)
        print('The emp id is', self.id)


<mask token>

class Employee:

    def __init__(self, id):
        self.id = id
        print('The employee id is', self.id)


<mask token>


class Employee:

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

    def display(self):
        print('The employee name is', self.name)
        print('The emp id is', self.id)


<mask token>
a1.display()
<mask token>
a2.display()

# defining class
class Employee:
# defining the constructor 
    def __init__(self, id):
        self.id = id
        print("The employee id is", self.id)
#storing the obj 
a1 = Employee(1)
a2 = Employee(2)   

class Employee:
    def __init__(self,name,id):
        self.name = name
        self.id   = id
    def display(self):
        print("The employee name is", self.name)
        print("The emp id is", self.id)
a1 = Employee(22, 'chary')
a1.display()
a2 = Employee(44, 'battu')
a2.display()                 