How To Get Integer From String In Geeksforgeeks In Python