Print all properties of a Python Class
I have a class Animal with several properties like: class Animal(object): def __init__(self): self.legs = 2 self.name = 'Dog' self.color= 'Spotted' self.smell= ...