Typescript Insert Into Array In Python For Loop