Typescript Get Value From String In Python Geeksforgeeks