class Rabbit:
    """A simple example class"""
    genus='Oryctolagus'
    specie='cuniculus'
    #tricks=[] #class variable
    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color #instance variable
        self.tricks = []    # creates a new empty list for each dog

    def add_trick(self, trick):
        self.tricks.append(trick)




bunny1 = Rabbit('Mocha', 'Holland Lop', 'chestnut')
bunny2 = Rabbit('Tofu', 'Netherlands Dwarf', 'white')
bunny3 = Rabbit('Sesame', 'Netherlands Dwarf', 'black')
# bunny4 = Rabbit('Fluffy')
# bunny5 = Rabbit('Ray')
# bunny6 = Rabbit('Brownie')
# bunny1.breed = 'Holland Lop'

bunny1.add_trick('play cute')

bunny2.add_trick('growl gu gu')


#print ('name of bunny 1 is', bunny1.name, '.','he can', bunny1.tricks[0])
#print (bunny2.tricks)
# print(bunny3.name)
# print(bunny1.breed)



7e7a2e4a236ab71bad2d563a454191a68e14cba9
class Rabbit:
    <mask token>
    <mask token>
    <mask token>

    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color
        self.tricks = []

    def add_trick(self, trick):
        self.tricks.append(trick)


<mask token>

class Rabbit:
    """A simple example class"""
    genus = 'Oryctolagus'
    specie = 'cuniculus'

    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color
        self.tricks = []

    def add_trick(self, trick):
        self.tricks.append(trick)


<mask token>

class Rabbit:
    """A simple example class"""
    genus = 'Oryctolagus'
    specie = 'cuniculus'

    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color
        self.tricks = []

    def add_trick(self, trick):
        self.tricks.append(trick)


<mask token>
bunny1.add_trick('play cute')
bunny2.add_trick('growl gu gu')

class Rabbit:
    """A simple example class"""
    genus = 'Oryctolagus'
    specie = 'cuniculus'

    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color
        self.tricks = []

    def add_trick(self, trick):
        self.tricks.append(trick)


bunny1 = Rabbit('Mocha', 'Holland Lop', 'chestnut')
bunny2 = Rabbit('Tofu', 'Netherlands Dwarf', 'white')
bunny3 = Rabbit('Sesame', 'Netherlands Dwarf', 'black')
bunny1.add_trick('play cute')
bunny2.add_trick('growl gu gu')

class Rabbit:
    """A simple example class"""
    genus='Oryctolagus'
    specie='cuniculus'
    #tricks=[] #class variable
    def __init__(self, name, breed, color):
        self.name = name
        self.breed = breed
        self.color = color #instance variable
        self.tricks = []    # creates a new empty list for each dog

    def add_trick(self, trick):
        self.tricks.append(trick)




bunny1 = Rabbit('Mocha', 'Holland Lop', 'chestnut')
bunny2 = Rabbit('Tofu', 'Netherlands Dwarf', 'white')
bunny3 = Rabbit('Sesame', 'Netherlands Dwarf', 'black')
# bunny4 = Rabbit('Fluffy')
# bunny5 = Rabbit('Ray')
# bunny6 = Rabbit('Brownie')
# bunny1.breed = 'Holland Lop'

bunny1.add_trick('play cute')

bunny2.add_trick('growl gu gu')


#print ('name of bunny 1 is', bunny1.name, '.','he can', bunny1.tricks[0])
#print (bunny2.tricks)
# print(bunny3.name)
# print(bunny1.breed)


