Array Shift In Python How To Get The Quotient