Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = 'Premium Intel'
- from Node import *
- class BinaryTree(object):
- def Root(self):
- self.root = None
- @property
- def root(self):
- return self.root
- @root.setter
- def root(self, value=BTNode()):
- self.root = value
- def isEmpty(self):
- return self.Root == None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement