changed set initialization

This commit is contained in:
Jacob Delgado 2023-07-08 23:55:27 -07:00
parent 9011ba9493
commit 233d7fe359

View File

@ -1,7 +1,7 @@
import random as r
def __init__(self):
self.set = {}
randomSet = ()
def insert(self, val):
"""
@ -10,7 +10,6 @@ def insert(self, val):
"""
if val is None:
return None
if val not in self:
self.add(val)
return True