Why does replacing the name of the parent class with super() break this init function?

前端 未结 0 807
失恋的感觉
失恋的感觉 2021-01-14 03:02
"classes.py"

class Word:
    def __init__(self,string):
        self.string = string
        self.len = len(self.string)
        self.firstLetter = string         


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