Python Array Example Code For Inheritance