Typescript Number Array Remove Python Linux