Getting a TypeError,takes no argument ,,Please anyone help on this

后端 未结 0 1159
生来不讨喜
生来不讨喜 2021-01-03 12:09

class Student: def checkpassfail(self): if self.marks>30: return True else: return False

def init(self,names,marks): self.names=names self.marks=m

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