Pythonの勉強を続けています。 今回は👉 super() を学びました。 これは 👉 親クラスの処理を呼び出すための仕組み です。 ■ まずは継承の復習 class Animal:def __init__(self, name):self.name = name class Dog(Animal):def __init__(self, name, age):self.age = age dog = Dog("Pochi", 3)print(dog.name) 👉 エラーになります ■ なぜエラー? 👉 親クラスの __init__ が呼ばれていない ■ super()を使う class D…