Skip to content
Snippets Groups Projects
Commit 875274ad authored by Loic Scoth's avatar Loic Scoth
Browse files

creation suppr a completer plus tard

parent 9bed5275
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,19 @@ class Node() :
return True, None, None, None
else :
return True, None, None, None
def suppr(self,value) :
"""
>>> a = Node([12, 42], [Node([3]), Node([25]), Node([50])])
>>> a.suppr(11)
False
"""
found = self.search(value)
if (found) :
return None
else :
return False
def splitNode(self) :
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment