+ 1
Why class are not displaying on pycharm
class Cat: def __init__(self, color, legs): self.color = color self.legs = legs felix = Cat("ginger", 4) rover = Cat("dog-colored", 4) stumpy = Cat("brown", 3)
2 Answers
+ 2
nothing is displaying because you're not printing anything
0
ok i will retry again