# --Time : 2020/1/4 15:23
# --Author : Zhang
# --File : classTest.py
class dog():
    def __init__(self, color, name):
        self.color = color
        self.name = name

    def setdog(self, na, co):
        self.name = na
        self.color = co

    def seedog(self):
        print('dogs color is ', self.color)
        print('dogs name is ', self.name)


dog1 = dog('as', 'sdf')

dog1.seedog()
dog1.setdog('jack', 'green')

print('+++++++++++++++++++++++++++++++++++')

dog1.seedog()

0dc342debc539557beb7b0c713c2dbf45c2ece32
class dog:

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

    def setdog(self, na, co):
        self.name = na
        self.color = co
    <mask token>


<mask token>

class dog:

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

    def setdog(self, na, co):
        self.name = na
        self.color = co

    def seedog(self):
        print('dogs color is ', self.color)
        print('dogs name is ', self.name)


<mask token>

class dog:

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

    def setdog(self, na, co):
        self.name = na
        self.color = co

    def seedog(self):
        print('dogs color is ', self.color)
        print('dogs name is ', self.name)


<mask token>
dog1.seedog()
dog1.setdog('jack', 'green')
print('+++++++++++++++++++++++++++++++++++')
dog1.seedog()

class dog:

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

    def setdog(self, na, co):
        self.name = na
        self.color = co

    def seedog(self):
        print('dogs color is ', self.color)
        print('dogs name is ', self.name)


dog1 = dog('as', 'sdf')
dog1.seedog()
dog1.setdog('jack', 'green')
print('+++++++++++++++++++++++++++++++++++')
dog1.seedog()

# --Time : 2020/1/4 15:23
# --Author : Zhang
# --File : classTest.py
class dog():
    def __init__(self, color, name):
        self.color = color
        self.name = name

    def setdog(self, na, co):
        self.name = na
        self.color = co

    def seedog(self):
        print('dogs color is ', self.color)
        print('dogs name is ', self.name)


dog1 = dog('as', 'sdf')

dog1.seedog()
dog1.setdog('jack', 'green')

print('+++++++++++++++++++++++++++++++++++')

dog1.seedog()
