This commit is contained in:
2026-04-11 17:13:54 -04:00
parent 18a0fd249c
commit f38fd535fb
6 changed files with 111 additions and 11 deletions

View File

@@ -1,3 +1,7 @@
class Cat:
def __init__(self, name):
def __init__(self, name, traits):
self.name = name
self.traits = traits
def to_dict(self):
return vars(self)