Typescript Loop Through Strings Python Definition In Coding