added changes to insert
This commit is contained in:
parent
ce050a911a
commit
c443bed68e
@ -12,6 +12,7 @@ def insert(self, val):
|
||||
return None
|
||||
if val not in self:
|
||||
self.add(val)
|
||||
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user