__init__() takes 4 positional arguments but 5 were given

后端 未结 0 366
后悔当初
后悔当初 2021-01-14 03:12
class Car():    
    def __init__(self, modelname, price, yearm):
        self.modelname=modelname
        self.price = price
        self.yearm = yearm

class super         


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