How To Turn Array Into Integer Definition In Python