From fc53cd35d29655dda4ecec79feed96a24075af5a Mon Sep 17 00:00:00 2001 From: Roman Dmytruk Date: Tue, 13 Oct 2026 12:48:11 +0000 Subject: [PATCH] Update u5/kindergarten_garden.py --- u5/kindergarten_garden.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/u5/kindergarten_garden.py b/u5/kindergarten_garden.py index bdf882c..3f451af 100644 --- a/u5/kindergarten_garden.py +++ b/u5/kindergarten_garden.py @@ -1,4 +1,4 @@ -class NoSuchStudentIsFound(Exception): +class NoSuchStudentException(Exception): pass @@ -28,7 +28,7 @@ class Garden(): def plants(self, students_name : str): if students_name not in self.students: - raise NoSuchStudentIsFound(f"Učeň {student_name} neexistuje v tomto záhone.") + raise NoSuchStudentException(f"Učeň {student_name} neexistuje v tomto záhone.") student_index = self.students.index(students_name)