def method(a, b, c=3):
return a ** c + b ** c
print(method(2, 5, 1), method(2, 5))
class Parent(object):
def method(self, a, b, c):
return a ** c + b ** c
class Child():
def method(self, a, b):
return Parent.method(a, b, 3)