Why does I am getting error in Python like Dog() takes no arguments?

前端 未结 0 962
一生所求
一生所求 2021-01-03 11:36

Why does I am getting error in Python like Dog() takes no arguments?

class Dog:
    def _init_(self, name, age)
        self.name = name
        self.age = ag         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题