There was an error while loading. Please reload this page.
1 parent 5643f84 commit 96c429dCopy full SHA for 96c429d
1 file changed
maths/sumset.py
@@ -24,6 +24,8 @@ def sumset(set_a: set, set_b: set) -> set:
24
Traceback (most recent call last):
25
...
26
AssertionError: The input value of [set_b=3] is not a set
27
+ >>> sumset(set(), {1, 2, 3})
28
+ set()
29
"""
30
assert isinstance(set_a, set), f"The input value of [set_a={set_a}] is not a set"
31
assert isinstance(set_b, set), f"The input value of [set_b={set_b}] is not a set"
0 commit comments