Esempio n. 1
0
 def __init__(self, last_name, eye_color, number_of_toys):
     """Inits child with last_name and eye_color."""
     # self.last_name = parent.last_name
     # self.eye_color = parent.eye_color
     print("bow wow chicka chicka ...")
     Parent.__init__(self, last_name, eye_color)
     self.number_of_toys = number_of_toys
Esempio n. 2
0
 def __init__(self, last_name, eye_color, number_of_toys):
     """Inits child with last_name and eye_color."""
     # self.last_name = parent.last_name
     # self.eye_color = parent.eye_color
     print("bow wow chicka chicka ...")
     Parent.__init__(self, last_name, eye_color)
     self.number_of_toys = number_of_toys
 def __init__(self, name, age, qualification):
     Parent.__init__(self, name, age, qualification)
Esempio n. 4
0
 def __init__(self, name, ethnicity, wealth):
     print("Child Constructor called")
     Parent.__init__(self, name, ethnicity)
     self.wealth = wealth
Esempio n. 5
0
    def __init__(self):
        Parent.__init__(self)

        self.code = 0
        self.name = 'child'
Esempio n. 6
0
 def __init__(self):
     Parent.__init__(self, "vanhung")
     print 'child'