How To Iterate Through Array In Python