Python - Inheritance and Code Reuse
Find the error in this code:
class Parent:
def __init__(self, name):
self.name = name
class Child(Parent):
def __init__(self, name, age):
self.age = age
c = Child("Anna", 10)
print(c.name, c.age)