Typescript String Number Array Python Methods Explained