Loop Through Python Array Example Code For Inheritance