From a00f2a435e522d6a9b5592864fcf400d7bb7bf74 Mon Sep 17 00:00:00 2001 From: Roman Zhilkin Date: Fri, 7 Mar 2025 13:32:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B3=D0=B5=D1=82=D1=82=D0=B5=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 3 +++ 1 file changed, 3 insertions(+) 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