Обновить u5/kindergarten_garden.py
This commit is contained in:
parent
11ca323fe5
commit
1829a679e2
@ -16,7 +16,7 @@ class Garden():
|
||||
raise ValueError("Row has to be string")
|
||||
self.rows.append(row)
|
||||
|
||||
garden = Garden("VVCG\nWRC")
|
||||
garden = Garden("VVCG\nVVRC")
|
||||
print([item[1:3] for item in garden.rows])
|
||||
garden.rows.append(Garden("s\ns"))
|
||||
print(garden.rows)
|
||||
Loading…
Reference in New Issue
Block a user