ll
This commit is contained in:
parent
acd7e3d806
commit
b87fc3fb49
@ -24,7 +24,7 @@ class Garden:
|
||||
}
|
||||
|
||||
def plants(self, student):
|
||||
if student in self.students:
|
||||
if student not in self.students:
|
||||
raise NoSuchStudentException()
|
||||
|
||||
index = self.students.index(student)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user