diff --git a/app.py b/app.py index b59cc76..cb560d3 100644 --- a/app.py +++ b/app.py @@ -12,5 +12,8 @@ class Teacher(Person): def __init__(self, name, age): super().__init__(name, age) + def getter(self): + return self.name + print("Привет!") \ No newline at end of file