This commit is contained in:
Vadym Afanasiev 2026-10-14 19:46:10 +00:00
parent acd7e3d806
commit b87fc3fb49

View File

@ -24,7 +24,7 @@ class Garden:
} }
def plants(self, student): def plants(self, student):
if student in self.students: if student not in self.students:
raise NoSuchStudentException() raise NoSuchStudentException()
index = self.students.index(student) index = self.students.index(student)