Method Of Class In Python Geeksforgeeks