what should be done in order to execute it
class parent():
age=None
name=None
def __init__(self,name,age):
self.name=name
self.age=age
def printout(self):
print(self.name)
print(self.age)
class child(parent):
def __init__(self,name,age,gender):
super(parent,self).__init__(self.name,self.age)
print gender
c=child("xyz",22,"male")
c.printout()
I am a newbie in the world of python, unable to figure out what is the problem