Simple food and debug bugfix
This commit is contained in:
@@ -2,6 +2,7 @@ class Cat:
|
||||
def __init__(self, name, traits):
|
||||
self.name = name
|
||||
self.traits = traits
|
||||
self.food = 3
|
||||
|
||||
def to_dict(self):
|
||||
return vars(self)
|
||||
|
||||
Reference in New Issue
Block a user