For me not much experience just run some code have face the error required two positional arguments probe and visit please help me
def viewIndex(self):
'' 'Show words alphabetically with their occurrences' ''
print(u"\n The alphabetical organization of the words in the tree is as follows:")
self.probe = None
self.visit = None
self.getBTree().doInOrden()
Traceback (most recent call last):
File "D:/btree-word-finder-master/btree-word-finder-master/Code_and_texts/BTreeWordFinder.py", line 102, in <module>
BTreeWordFinder.main()
File "D:/btree-word-finder-master/btree-word-finder-master/Code_and_texts/BTreeWordFinder.py", line 97, in main
b.viewIndex()
File "D:/btree-word-finder-master/btree-word-finder-master/Code_and_texts/BTreeWordFinder.py", line 49, in viewIndex
self.getBTree().doInOrden()
TypeError: doInOrden() missing 2 required positional arguments: 'probe' and 'visit'