How to Print Object Attributes in Python? (with Code)

How to Print Object Attributes in Python? (with Code)