Python - Inheritance and Code Reuse
Identify the problem in this code:
class Parent:
def __init__(self):
self.value = 5
class Child(Parent):
def __init__(self):
self.value = 10
obj = Child()
print(obj.value)