# grxx = {}
# name = input("请输入你的姓名：")
#
# age = input("请输入你的年龄：")
#
#
#
# grxx['name'] = name
# grxx['age'] = age
#
# print(grxx)
#


class Dog():


    def __init__(self, name, age):

        self.name = name
        self.age = age

    def sit(self):
        print(self.name.title()+' '+'is now sitting.')

    def roll_over(self):
        print(self.name.title()+' '+'rolled over')

# my_dog = Dog()

Dog('zhang san',8).sit()

Dog('zhang si',8).roll_over()


class Huang_dog(Dog):
    def __init__(self, name, age):
        super().__init__(name, age)

Huang_dog('sss s',34).sit()
d7b6d147c01be62376d7852e1f0900e3678e2178
class Dog:
    <mask token>
    <mask token>
    <mask token>


<mask token>


class Huang_dog(Dog):

    def __init__(self, name, age):
        super().__init__(name, age)


<mask token>

class Dog:
    <mask token>
    <mask token>

    def roll_over(self):
        print(self.name.title() + ' ' + 'rolled over')


<mask token>


class Huang_dog(Dog):

    def __init__(self, name, age):
        super().__init__(name, age)


<mask token>

class Dog:

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

    def sit(self):
        print(self.name.title() + ' ' + 'is now sitting.')

    def roll_over(self):
        print(self.name.title() + ' ' + 'rolled over')


<mask token>


class Huang_dog(Dog):

    def __init__(self, name, age):
        super().__init__(name, age)


<mask token>

class Dog:

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

    def sit(self):
        print(self.name.title() + ' ' + 'is now sitting.')

    def roll_over(self):
        print(self.name.title() + ' ' + 'rolled over')


Dog('zhang san', 8).sit()
Dog('zhang si', 8).roll_over()


class Huang_dog(Dog):

    def __init__(self, name, age):
        super().__init__(name, age)


Huang_dog('sss s', 34).sit()

# grxx = {}
# name = input("请输入你的姓名：")
#
# age = input("请输入你的年龄：")
#
#
#
# grxx['name'] = name
# grxx['age'] = age
#
# print(grxx)
#


class Dog():


    def __init__(self, name, age):

        self.name = name
        self.age = age

    def sit(self):
        print(self.name.title()+' '+'is now sitting.')

    def roll_over(self):
        print(self.name.title()+' '+'rolled over')

# my_dog = Dog()

Dog('zhang san',8).sit()

Dog('zhang si',8).roll_over()


class Huang_dog(Dog):
    def __init__(self, name, age):
        super().__init__(name, age)

Huang_dog('sss s',34).sit()