How To Convert Tuple To Integer In Python