Update u5/kindergarten_garden.py
This commit is contained in:
parent
0fb89b4a90
commit
3933e94b78
@ -28,8 +28,8 @@ class Garden:
|
||||
}
|
||||
|
||||
def __init__(self, diagram, students=DEFAULT_STUDENTS):
|
||||
self.students = sorted(students)
|
||||
self.rows = diagram.split("\n")
|
||||
self.students = sorted(students)
|
||||
self.rows = diagram.split("\n")
|
||||
|
||||
def plants(self, student_name):
|
||||
if student_name not in self.students:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user