I am writing a function to find height of node in an AVL tree and trying to implement it using python. This is the code I have written
class Node(object):