Typescript Remove Item From String Array Python Definition Range