Python Remove Element From Array Typescript Playgrounds