Execute Method In Python Geeksforgeeks