Python Array Example Code For Abstraction