Files
python/exercises/custom-set/custom_set.py

31 lines
478 B
Python
Raw Normal View History

class CustomSet(object):
def __init__(self, elements=[]):
pass
def isempty(self):
pass
def __contains__(self, element):
pass
def issubset(self, other):
pass
def isdisjoint(self, other):
pass
def __eq__(self, other):
pass
def add(self, element):
pass
def intersection(self, other):
pass
def difference(self, other):
pass
def union(self, other):
pass