How is nothing getting added to my list even though I am doing append?

后端 未结 0 522
星月不相逢
星月不相逢 2021-01-01 03:23
class User:
    def __init__(self, name, grades):
        self.name = name 
        self.grades = grades

    def average(self):
        return sum(self.grades) / le         


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