Python - Encapsulation and Data Protection
Given this code, what is the output?
class Parent:
def __init__(self):
self._value = 5
class Child(Parent):
def __init__(self):
super().__init__()
self._value = 10
p = Parent()
c = Child()
print(p._value, c._value)