Use Inheritance Behavior in a Python Program