Use an Inherited Attribute

A subclass picks up the parent's attributes for free. Read the inherited kingdom attribute from a subclass instance.
Python
Setting up Python environment...
Output