Data Processing Using Arrays In Python 3