Brilliant! We start with Animal
and its __init__()
method, define Bear
and its __init__()
method, which calls Animal.__init__()
and sets breed
.
Almost! We start with Animal
and its __init__()
method, define Bear
and its __init__()
method, which calls Animal.__init__()
and sets breed
.