Update u5/kindergarten_garden.py

This commit is contained in:
Roman Dmytruk 2026-10-13 12:54:10 +00:00
parent 88f3b6caaa
commit 529cd9bfc9

View File

@ -4,7 +4,7 @@ class NoSuchStudentException(Exception):
class Garden():
STUDENTS = [
DEFAULT_STUDENTS = [
"Alena", "Boris", "Cyril", "Daniel",
"Eva", "František", "Gitka", "Helena",
"Ivana", "Jozef", "Karol", "Ladislav"
@ -24,7 +24,7 @@ class Garden():
if students is not None:
self.students = sorted(students)
else:
self.students = self.DEFULT_STUDENTS
self.students = self.DEFAULT_STUDENTS
def plants(self, students_name : str):
if students_name not in self.students: