Typescript Fixed Length Array Python Methods