Typescript Select From Array Python Questions