From b18a63969c6c0ac3041afe4f4b612a1e8547bd84 Mon Sep 17 00:00:00 2001 From: Sanchi Agarwal Date: Sun, 16 Aug 2026 16:37:28 +0530 Subject: [PATCH] Fix sumset docstring --- maths/sumset.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/maths/sumset.py b/maths/sumset.py index fa18f9e24b4c..c1fc898f4217 100644 --- a/maths/sumset.py +++ b/maths/sumset.py @@ -10,10 +10,9 @@ def sumset(set_a: set, set_b: set) -> set: """ - :param first set: a set of numbers - :param second set: a set of numbers - :return: the nth number in Sylvester's sequence - + :param set_a: a set of numbers + :param set_b: a set of numbers + :return: the sumset of set_a and set_b (all pairwise sums a + b) >>> sumset({1, 2, 3}, {4, 5, 6}) {5, 6, 7, 8, 9}