what is wrong with this program.i m getting name error:
NameError: name 'sum1' is not defined
class sum:
def sum1(self,a,b):
self.c=a+b
return self.c
def init(self,a,b):
self.a=a
self.b=b
return sum1(self.a,self.b)
d=sum()
a=6
b=7
h=d.init(a,b)
print(h)