class Dog:
    def __init__(self):
        print("执行了构造方法，正在初始化。。。")
    def eat(self):
        print("正在啃骨头。。。")
    def drink(self):
        print("正在喝水。。。")
    def run(self):
        print("正在摇着尾巴跑")
wangcai=Dog()
wangcai.eat()
wangcai.drink()
wangcai.run()
