Typescript Record To Array Python Initialize Two